Skip to content

Commit 6da3f85

Browse files
committed
Rollup merge of rust-lang#31762 - tshepang:in-which-case, r=steveklabnik
doc: there is no case that is shown, so something was likely missing … …from the change
2 parents 772c600 + 8f463ea commit 6da3f85

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/libstd/env.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ pub mod consts {
617617
#[stable(feature = "env", since = "1.0.0")]
618618
pub const ARCH: &'static str = super::arch::ARCH;
619619

620-
/// The family of the operating system. In this case, `unix`.
620+
/// The family of the operating system. Example value is `unix`.
621621
///
622622
/// Some possible values:
623623
///
@@ -626,8 +626,8 @@ pub mod consts {
626626
#[stable(feature = "env", since = "1.0.0")]
627627
pub const FAMILY: &'static str = super::os::FAMILY;
628628

629-
/// A string describing the specific operating system in use: in this
630-
/// case, `linux`.
629+
/// A string describing the specific operating system in use.
630+
/// Example value is `linux`.
631631
///
632632
/// Some possible values:
633633
///
@@ -646,7 +646,7 @@ pub mod consts {
646646
pub const OS: &'static str = super::os::OS;
647647

648648
/// Specifies the filename prefix used for shared libraries on this
649-
/// platform: in this case, `lib`.
649+
/// platform. Example value is `lib`.
650650
///
651651
/// Some possible values:
652652
///
@@ -656,7 +656,7 @@ pub mod consts {
656656
pub const DLL_PREFIX: &'static str = super::os::DLL_PREFIX;
657657

658658
/// Specifies the filename suffix used for shared libraries on this
659-
/// platform: in this case, `.so`.
659+
/// platform. Example value is `.so`.
660660
///
661661
/// Some possible values:
662662
///
@@ -667,7 +667,7 @@ pub mod consts {
667667
pub const DLL_SUFFIX: &'static str = super::os::DLL_SUFFIX;
668668

669669
/// Specifies the file extension used for shared libraries on this
670-
/// platform that goes after the dot: in this case, `so`.
670+
/// platform that goes after the dot. Example value is `so`.
671671
///
672672
/// Some possible values:
673673
///
@@ -678,7 +678,7 @@ pub mod consts {
678678
pub const DLL_EXTENSION: &'static str = super::os::DLL_EXTENSION;
679679

680680
/// Specifies the filename suffix used for executable binaries on this
681-
/// platform: in this case, the empty string.
681+
/// platform. Example value is `.exe`.
682682
///
683683
/// Some possible values:
684684
///
@@ -690,7 +690,7 @@ pub mod consts {
690690
pub const EXE_SUFFIX: &'static str = super::os::EXE_SUFFIX;
691691

692692
/// Specifies the file extension, if any, used for executable binaries
693-
/// on this platform: in this case, the empty string.
693+
/// on this platform. Example value is `exe`.
694694
///
695695
/// Some possible values:
696696
///

0 commit comments

Comments
 (0)