Removed pub fields when not needed

This commit is contained in:
Pierre Krieger 2016-10-31 17:30:19 +01:00
parent 158543f336
commit ef61a46182

View file

@ -62,9 +62,8 @@ unsafe impl Send for Window {}
unsafe impl Sync for Window {} unsafe impl Sync for Window {}
/// A simple wrapper that destroys the window when it is destroyed. /// A simple wrapper that destroys the window when it is destroyed.
// FIXME: remove `pub` (https://github.com/rust-lang/rust/issues/23585)
#[doc(hidden)] #[doc(hidden)]
pub struct WindowWrapper(pub winapi::HWND, pub winapi::HDC); pub struct WindowWrapper(winapi::HWND, winapi::HDC);
impl Drop for WindowWrapper { impl Drop for WindowWrapper {
#[inline] #[inline]