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.
This commit is contained in:
Bryan Bell 2015-01-23 00:15:18 -08:00
parent 1d6b863cd4
commit 3e06c1c0e2

View file

@ -154,6 +154,7 @@ pub struct WindowBuilder<'a> {
/// Attributes /// Attributes
struct BuilderAttribs<'a> { struct BuilderAttribs<'a> {
#[allow(dead_code)]
headless: bool, headless: bool,
strict: bool, strict: bool,
sharing: Option<&'a winimpl::Window>, sharing: Option<&'a winimpl::Window>,