Minor formatting consistency fix.
This commit is contained in:
parent
e5bf0428d1
commit
f9661126ca
1 changed files with 1 additions and 1 deletions
|
@ -1444,7 +1444,7 @@ pub fn id() -> u32 {
|
||||||
#[unstable(feature = "termination_trait_lib", issue = "43301")]
|
#[unstable(feature = "termination_trait_lib", issue = "43301")]
|
||||||
#[rustc_on_unimplemented(
|
#[rustc_on_unimplemented(
|
||||||
message="`main` has invalid return type `{Self}`",
|
message="`main` has invalid return type `{Self}`",
|
||||||
label="`main` can only return types that implement {Termination}")]
|
label="`main` can only return types that implement `{Termination}`")]
|
||||||
pub trait Termination {
|
pub trait Termination {
|
||||||
/// Is called to get the representation of the value as status code.
|
/// Is called to get the representation of the value as status code.
|
||||||
/// This status code is returned to the operating system.
|
/// This status code is returned to the operating system.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue