Skip to content

Commit

Permalink
Set WindowBuilder to must_use
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Jun 7, 2022
1 parent 9253029 commit c7f7181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c7f7181

Please sign in to comment.