mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Set WindowBuilder to must_use
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user