mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04: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:
@@ -154,6 +154,7 @@ pub struct WindowBuilder<'a> {
|
||||
|
||||
/// Attributes
|
||||
struct BuilderAttribs<'a> {
|
||||
#[allow(dead_code)]
|
||||
headless: bool,
|
||||
strict: bool,
|
||||
sharing: Option<&'a winimpl::Window>,
|
||||
|
||||
Reference in New Issue
Block a user