diff --git a/src/libcore/future/mod.rs b/src/libcore/future/mod.rs index e808f9d2f102..517f8c98c477 100644 --- a/src/libcore/future/mod.rs +++ b/src/libcore/future/mod.rs @@ -26,7 +26,7 @@ pub use self::future::Future; #[unstable(feature = "gen_future", issue = "50547")] #[cfg(not(bootstrap))] #[derive(Debug, Copy, Clone)] -pub struct ResumeTy(pub NonNull>); +pub struct ResumeTy(NonNull>); #[unstable(feature = "gen_future", issue = "50547")] #[cfg(not(bootstrap))]