mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
Set WindowBuilder
to must_use
This commit is contained in:
parent
92530299eb
commit
c7f7181388
|
@ -85,6 +85,7 @@ impl WindowId {
|
|||
|
||||
/// Object that allows building windows.
|
||||
#[derive(Clone, Default)]
|
||||
#[must_use]
|
||||
pub struct WindowBuilder {
|
||||
/// The attributes to use to create the window.
|
||||
pub window: WindowAttributes,
|
||||
|
|
Loading…
Reference in a new issue