Make ResumeTy contents private

This commit is contained in:
Jonas Schievink
2020-03-03 16:05:11 +01:00
parent 6450101b69
commit 50b9d772db
+1 -1
View File
@@ -26,7 +26,7 @@
#[unstable(feature = "gen_future", issue = "50547")]
#[cfg(not(bootstrap))]
#[derive(Debug, Copy, Clone)]
pub struct ResumeTy(pub NonNull<Context<'static>>);
pub struct ResumeTy(NonNull<Context<'static>>);
#[unstable(feature = "gen_future", issue = "50547")]
#[cfg(not(bootstrap))]