aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-01-23 00:15:18 -0800
committerBryan Bell <bryan.w.bell@gmail.com>2015-01-23 00:15:18 -0800
commit3e06c1c0e2006aa1c3ab4ac71bae1310783b4d77 (patch)
tree22ea0a53fedd72591f957048303720ccf6573cef /src
parent1d6b863cd454839b8e3cf1e296cbf8f31fb70029 (diff)
downloadglutin-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.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 436c0cf..f084296 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -154,6 +154,7 @@ pub struct WindowBuilder<'a> {
/// Attributes
struct BuilderAttribs<'a> {
+ #[allow(dead_code)]
headless: bool,
strict: bool,
sharing: Option<&'a winimpl::Window>,