diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2018-03-21 13:32:46 -0500 |
|---|---|---|
| committer | Tyler Mandry <tmandry@gmail.com> | 2018-03-21 13:32:46 -0500 |
| commit | b6934c91b23517c4e17d8016b6c46ffd0703eded (patch) | |
| tree | 7a1410a8946ae3da985ed3516a784e99ba5460aa /src/libstd/process.rs | |
| parent | 2cdc7af41366182259a05435e325d7444653a3e8 (diff) | |
| download | rust-b6934c91b23517c4e17d8016b6c46ffd0703eded.tar.gz rust-b6934c91b23517c4e17d8016b6c46ffd0703eded.zip | |
termination_trait: Put examples in error help, not label
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index a6aa3502f26..d5ac2d19e83 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -1443,7 +1443,7 @@ pub fn id() -> u32 { #[cfg_attr(not(test), lang = "termination")] #[unstable(feature = "termination_trait_lib", issue = "43301")] #[rustc_on_unimplemented = - "`main` can only return types like `()` that implement {Termination}, not `{Self}`"] + "`main` can only return types that implement {Termination}, not `{Self}`"] pub trait Termination { /// Is called to get the representation of the value as status code. /// This status code is returned to the operating system. |
