Skip to content

Commit

Permalink
Auto merge of #29487 - sfackler:current-exe-docs, r=steveklabnik
Browse files Browse the repository at this point in the history
The "optionally" stuff just makes things confusing.

r? @steveklabnik
  • Loading branch information
bors committed Oct 31, 2015
2 parents 57a0df6 + 4af1953 commit 1a2eaff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libstd/env.rs
Expand Up @@ -416,7 +416,7 @@ impl Error for JoinPathsError {
fn description(&self) -> &str { self.inner.description() }
}

/// Optionally returns the path to the current user's home directory if known.
/// Returns the path to the current user's home directory if known.
///
/// # Unix
///
Expand Down Expand Up @@ -480,8 +480,8 @@ pub fn temp_dir() -> PathBuf {
os_imp::temp_dir()
}

/// Optionally returns the filesystem path to the current executable which is
/// running but with the executable name.
/// Returns the filesystem path to the current executable which is running but
/// with the executable name.
///
/// The path returned is not necessarily a "real path" to the executable as
/// there may be intermediate symlinks.
Expand Down

0 comments on commit 1a2eaff

Please sign in to comment.