mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +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
|
||||
struct BuilderAttribs<'a> {
|
||||
#[allow(dead_code)]
|
||||
headless: bool,
|
||||
strict: bool,
|
||||
sharing: Option<&'a winimpl::Window>,
|
||||
|
|
Loading…
Reference in a new issue