diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/marker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 51d2e29e6b1..d78453cc900 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -346,11 +346,11 @@ pub trait Copy : Clone { #[rustc_on_unimplemented( on( _Self="std::sync::mpsc::Receiver<T>", - label="`{Self}` cannot be shared safely, if using a closure consider marking it `move`" + label="`{Self}` cannot be shared safely, consider marking the closure `move`" ), on( _Self="std::sync::mpsc::Sender<T>", - label="`{Self}` cannot be shared safely, if using a closure consider marking it `move`" + label="`{Self}` cannot be shared safely, consider marking the closure `move`" ), message="`{Self}` cannot be shared between threads safely", label="`{Self}` cannot be shared between threads safely" |
