aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-01-23 09:40:41 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-01-23 09:40:41 +0100
commit36538b5634dfc9823771d237174816c7ed00f454 (patch)
treed55da2f95868e63f61c6e8079750b7e19c00ff41 /src
parent60ec8542abb58f2b649c19dca334e4f9f0bfc4a9 (diff)
parent3e06c1c0e2006aa1c3ab4ac71bae1310783b4d77 (diff)
downloadglutin-36538b5634dfc9823771d237174816c7ed00f454.tar.gz
glutin-36538b5634dfc9823771d237174816c7ed00f454.zip
Merge pull request #219 from bjwbell/remove-deadcode-warning
Remove deadcode warning in BuilderAttribs
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 1b8ebce..cfefe99 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -155,6 +155,7 @@ pub struct WindowBuilder<'a> {
/// Attributes
struct BuilderAttribs<'a> {
+ #[allow(dead_code)]
headless: bool,
strict: bool,
sharing: Option<&'a winimpl::Window>,