mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Removed pub fields when not needed
This commit is contained in:
1 parent
158543f336
commit
ef61a46182
1 file changed
+1
-2
@@ -62,9 +62,8 @@ unsafe impl Send for Window {}
|
||||
unsafe impl Sync for Window {}
|
||||
|
||||
/// A simple wrapper that destroys the window when it is destroyed.
|
||||
// FIXME: remove `pub` (https://github.com/rust-lang/rust/issues/23585)
|
||||
#[doc(hidden)]
|
||||
pub struct WindowWrapper(pub winapi::HWND, pub winapi::HDC);
|
||||
pub struct WindowWrapper(winapi::HWND, winapi::HDC);
|
||||
|
||||
impl Drop for WindowWrapper {
|
||||
#[inline]
|
||||
|
||||
Reference in new issue
Block a user