about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorZHANGWENTAI <2092913428@qq.com>2022-03-22 23:33:08 +0800
committerZHANGWENTAI <2092913428@qq.com>2022-03-22 23:33:08 +0800
commit71e34231e089b19c6066efba3744673208ab4ffd (patch)
treec39cf9b5770c5a87c755bc3f107a48b59b7751a5 /library/std/src
parent161b01a9acdfb0ccc5ec59f28996944780a6bbd4 (diff)
downloadrust-71e34231e089b19c6066efba3744673208ab4ffd.tar.gz
rust-71e34231e089b19c6066efba3744673208ab4ffd.zip
add some fix
Signed-off-by: ZHANGWENTAI <2092913428@qq.com>
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/process.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index 9d2e844187e..9824cce6c72 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -2031,9 +2031,10 @@ pub fn id() -> u32 {
 /// The default implementations are returning `libc::EXIT_SUCCESS` to indicate
 /// a successful execution. In case of a failure, `libc::EXIT_FAILURE` is returned.
 ///
-/// For the reason that different runtimes have diffrent specificatons on the
-/// return value of the `main` function, this trait is likely to be available
-/// only on standard library's runtime for type convenience.
+/// Because different runtimes have different specifications on the return value
+/// of the `main` function, this trait is likely to be available only on
+/// standard library's runtime for convenience. Other runtimes are not required
+/// to provide similar functionality.
 #[cfg_attr(not(test), lang = "termination")]
 #[unstable(feature = "termination_trait_lib", issue = "43301")]
 #[rustc_on_unimplemented(