From 7a7d48127046dd651d75dfc68c6202221edebc57 Mon Sep 17 00:00:00 2001 From: William Throwe Date: Tue, 24 Nov 2015 23:39:11 -0500 Subject: [PATCH] Mark raw pointer Send and Sync impls ?Sized I'm pretty sure this code isn't actually used by the compiler, so this is effectively a documentation change. --- src/libcore/marker.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index e41d63c7e6e..b584e59a825 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -35,9 +35,9 @@ pub unsafe trait Send { unsafe impl Send for .. { } #[stable(feature = "rust1", since = "1.0.0")] -impl !Send for *const T { } +impl !Send for *const T { } #[stable(feature = "rust1", since = "1.0.0")] -impl !Send for *mut T { } +impl !Send for *mut T { } /// Types with a constant size known at compile-time. /// @@ -230,9 +230,9 @@ pub unsafe trait Sync { unsafe impl Sync for .. { } #[stable(feature = "rust1", since = "1.0.0")] -impl !Sync for *const T { } +impl !Sync for *const T { } #[stable(feature = "rust1", since = "1.0.0")] -impl !Sync for *mut T { } +impl !Sync for *mut T { } macro_rules! impls{ ($t: ident) => (