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:
parent
1d6b863cd4
commit
3e06c1c0e2
1 changed files with 1 additions and 0 deletions
|
|
@ -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>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue