mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
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
|
@ -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…
Reference in a new issue