We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5bf042 commit f966112Copy full SHA for f966112
src/libstd/process.rs
@@ -1444,7 +1444,7 @@ pub fn id() -> u32 {
1444
#[unstable(feature = "termination_trait_lib", issue = "43301")]
1445
#[rustc_on_unimplemented(
1446
message="`main` has invalid return type `{Self}`",
1447
- label="`main` can only return types that implement {Termination}")]
+ label="`main` can only return types that implement `{Termination}`")]
1448
pub trait Termination {
1449
/// Is called to get the representation of the value as status code.
1450
/// This status code is returned to the operating system.
0 commit comments