diff options
author | Bryan Bell <bryan.w.bell@gmail.com> | 2015-01-23 00:15:18 -0800 |
---|---|---|
committer | Bryan Bell <bryan.w.bell@gmail.com> | 2015-01-23 00:15:18 -0800 |
commit | 3e06c1c0e2006aa1c3ab4ac71bae1310783b4d77 (patch) | |
tree | 22ea0a53fedd72591f957048303720ccf6573cef | |
parent | 1d6b863cd454839b8e3cf1e296cbf8f31fb70029 (diff) | |
download | glutin-3e06c1c0e2006aa1c3ab4ac71bae1310783b4d77.tar.gz glutin-3e06c1c0e2006aa1c3ab4ac71bae1310783b4d77.zip |
Remove deadcode warning in BuilderAttribs
In src/lib.rs remove the deadcode warning about the 'headless' builder
attribute. Headless is /actually/ set to false or true depending on if
HeadlessRendererBuilder is used.
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,6 +154,7 @@ pub struct WindowBuilder<'a> { /// Attributes struct BuilderAttribs<'a> { + #[allow(dead_code)] headless: bool, strict: bool, sharing: Option<&'a winimpl::Window>, |