mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 18:36:34 +11:00
Removed pub fields when not needed
This commit is contained in:
parent
158543f336
commit
ef61a46182
1 changed files with 1 additions and 2 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue