File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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 {
20312031/// The default implementations are returning `libc::EXIT_SUCCESS` to indicate
20322032/// a successful execution. In case of a failure, `libc::EXIT_FAILURE` is returned.
20332033///
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.
20372038#[ cfg_attr( not( test) , lang = "termination" ) ]
20382039#[ unstable( feature = "termination_trait_lib" , issue = "43301" ) ]
20392040#[ rustc_on_unimplemented(
You can’t perform that action at this time.
0 commit comments