Skip to content

Commit 0328c86

Browse files
committed
Refer to other docs
1 parent f8d8aa6 commit 0328c86

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

library/std/src/env.rs

+3-23
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ pub mod consts {
983983
/// * `"unix"`
984984
/// * `"windows"`
985985
/// * `"itron"`
986+
/// * `"wasm"`
986987
/// * `""`
987988
///
988989
/// </details>
@@ -1041,18 +1042,7 @@ pub mod consts {
10411042
/// Specifies the filename suffix, if any, used for shared libraries on this platform.
10421043
/// An example value may be: `".so"`, `".elf"`, or `".dll"`.
10431044
///
1044-
/// <details><summary>Full list of possible values</summary>
1045-
///
1046-
/// * `".so"`
1047-
/// * `".dylib"`
1048-
/// * `".dll"`
1049-
/// * `".sgxs"`
1050-
/// * `".a"`
1051-
/// * `".elf"`
1052-
/// * `".wasm"`
1053-
/// * `""` (an empty string)
1054-
///
1055-
/// </details>
1045+
/// The possible values are identical to those of [`DLL_EXTENSION`], but with the leading period included.
10561046
#[stable(feature = "env", since = "1.0.0")]
10571047
pub const DLL_SUFFIX: &str = os::DLL_SUFFIX;
10581048

@@ -1077,17 +1067,7 @@ pub mod consts {
10771067
/// Specifies the filename suffix, if any, used for executable binaries on this platform.
10781068
/// An example value may be: `".exe"`, or `".efi"`.
10791069
///
1080-
/// <details><summary>Full list of possible values</summary>
1081-
///
1082-
/// * `".exe"`
1083-
/// * `".efi"`
1084-
/// * `".js"`
1085-
/// * `".sgxs"`
1086-
/// * `".elf"`
1087-
/// * `".wasm"`
1088-
/// * `""` (an empty string)
1089-
///
1090-
/// </details>
1070+
/// The possible values are identical to those of [`EXE_EXTENSION`], but with the leading period included.
10911071
#[stable(feature = "env", since = "1.0.0")]
10921072
pub const EXE_SUFFIX: &str = os::EXE_SUFFIX;
10931073

0 commit comments

Comments
 (0)