Navigation Menu

Skip to content

Commit

Permalink
libstd: improve os::args() doc
Browse files Browse the repository at this point in the history
  • Loading branch information
liigo committed Nov 15, 2014
1 parent 1e4e55a commit 8347450
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libstd/os.rs
Expand Up @@ -1083,6 +1083,10 @@ extern "system" {
/// Returns the arguments which this program was started with (normally passed
/// via the command line).
///
/// The first element is traditionally the path to the executable, but it can be
/// set to arbitrary text, and it may not even exist, so this property should not
// be relied upon for security purposes.
///
/// The arguments are interpreted as utf-8, with invalid bytes replaced with \uFFFD.
/// See `String::from_utf8_lossy` for details.
/// # Example
Expand Down

0 comments on commit 8347450

Please sign in to comment.