File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2031,9 +2031,10 @@ pub fn id() -> u32 {
2031
2031
/// The default implementations are returning `libc::EXIT_SUCCESS` to indicate
2032
2032
/// a successful execution. In case of a failure, `libc::EXIT_FAILURE` is returned.
2033
2033
///
2034
- /// For the reason that different runtimes have diffrent specificatons on the
2035
- /// return value of the `main` function, this trait is likely to be available
2036
- /// only on standard library's runtime for type convenience.
2034
+ /// Because different runtimes have different specifications on the return value
2035
+ /// of the `main` function, this trait is likely to be available only on
2036
+ /// standard library's runtime for convenience. Other runtimes are not required
2037
+ /// to provide similar functionality.
2037
2038
#[ cfg_attr( not( test) , lang = "termination" ) ]
2038
2039
#[ unstable( feature = "termination_trait_lib" , issue = "43301" ) ]
2039
2040
#[ rustc_on_unimplemented(
You can’t perform that action at this time.
0 commit comments