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