mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Removed pub fields when not needed
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user