diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-04-05 17:55:14 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-04-05 17:55:14 +0200 |
| commit | 8f463ea98e1ce5763b2ecfb4480bc7cce83125ac (patch) | |
| tree | 607b0f0a95ce5abcde37e97546a75fbce0d6c642 /src/libstd | |
| parent | f075698ea59794f3ece46c365b8071d844adb6c0 (diff) | |
| download | rust-8f463ea98e1ce5763b2ecfb4480bc7cce83125ac.tar.gz rust-8f463ea98e1ce5763b2ecfb4480bc7cce83125ac.zip | |
doc: make env::consts summaries less confusing
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/env.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs index fa48efb2788..cd541e63fb7 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -618,7 +618,7 @@ pub mod consts { #[stable(feature = "env", since = "1.0.0")] pub const ARCH: &'static str = super::arch::ARCH; - /// The family of the operating system. In this case, `unix`. + /// The family of the operating system. Example value is `unix`. /// /// Some possible values: /// @@ -627,8 +627,8 @@ pub mod consts { #[stable(feature = "env", since = "1.0.0")] pub const FAMILY: &'static str = super::os::FAMILY; - /// A string describing the specific operating system in use: in this - /// case, `linux`. + /// A string describing the specific operating system in use. + /// Example value is `linux`. /// /// Some possible values: /// @@ -647,7 +647,7 @@ pub mod consts { pub const OS: &'static str = super::os::OS; /// Specifies the filename prefix used for shared libraries on this - /// platform: in this case, `lib`. + /// platform. Example value is `lib`. /// /// Some possible values: /// @@ -657,7 +657,7 @@ pub mod consts { pub const DLL_PREFIX: &'static str = super::os::DLL_PREFIX; /// Specifies the filename suffix used for shared libraries on this - /// platform: in this case, `.so`. + /// platform. Example value is `.so`. /// /// Some possible values: /// @@ -668,7 +668,7 @@ pub mod consts { pub const DLL_SUFFIX: &'static str = super::os::DLL_SUFFIX; /// Specifies the file extension used for shared libraries on this - /// platform that goes after the dot: in this case, `so`. + /// platform that goes after the dot. Example value is `so`. /// /// Some possible values: /// @@ -679,7 +679,7 @@ pub mod consts { pub const DLL_EXTENSION: &'static str = super::os::DLL_EXTENSION; /// Specifies the filename suffix used for executable binaries on this - /// platform: in this case, the empty string. + /// platform. Example value is `.exe`. /// /// Some possible values: /// @@ -691,7 +691,7 @@ pub mod consts { pub const EXE_SUFFIX: &'static str = super::os::EXE_SUFFIX; /// Specifies the file extension, if any, used for executable binaries - /// on this platform: in this case, the empty string. + /// on this platform. Example value is `exe`. /// /// Some possible values: /// |
