mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
fix the lint problem
Signed-off-by: ZHANGWENTAI <2092913428@qq.com>
This commit is contained in:
parent
6e971a8bc2
commit
161b01a9ac
@ -2032,7 +2032,7 @@ pub fn id() -> u32 {
|
||||
/// 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
|
||||
/// return value of the `main` function, this trait is likely to be available
|
||||
/// only on standard library's runtime for type convenience.
|
||||
#[cfg_attr(not(test), lang = "termination")]
|
||||
#[unstable(feature = "termination_trait_lib", issue = "43301")]
|
||||
|
Loading…
Reference in New Issue
Block a user