diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-03-21 13:43:14 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-03-21 13:43:14 +0100 |
commit | 63f69d6f2fa4d27dae9c3068c1df16cdcad669d1 (patch) | |
tree | c966c88b13c3add85514cb4ce6c12ac86695e0d0 /src/win32/mod.rs | |
parent | 8eac00f007a6d2cb7ea5a57a9f917b9098fe4228 (diff) | |
download | glutin-63f69d6f2fa4d27dae9c3068c1df16cdcad669d1.tar.gz glutin-63f69d6f2fa4d27dae9c3068c1df16cdcad669d1.zip |
Rustup
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r-- | src/win32/mod.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 8ba5ed5..07f76e8 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -49,7 +49,9 @@ unsafe impl Send for Window {} unsafe impl Sync for Window {} /// A simple wrapper that destroys the context when it is destroyed. -struct ContextWrapper(pub winapi::HGLRC); +// FIXME: remove `pub` (https://github.com/rust-lang/rust/issues/23585) +#[doc(hidden)] +pub struct ContextWrapper(pub winapi::HGLRC); impl Drop for ContextWrapper { fn drop(&mut self) { @@ -60,7 +62,9 @@ impl Drop for ContextWrapper { } /// A simple wrapper that destroys the window when it is destroyed. -struct WindowWrapper(pub winapi::HWND, pub winapi::HDC); +// FIXME: remove `pub` (https://github.com/rust-lang/rust/issues/23585) +#[doc(hidden)] +pub struct WindowWrapper(pub winapi::HWND, pub winapi::HDC); impl Drop for WindowWrapper { fn drop(&mut self) { |