Set WindowBuilder to must_use

This commit is contained in:
Lucas Kent
2022-06-08 06:55:57 +10:00
committed by GitHub
parent 92530299eb
commit c7f7181388

View File

@@ -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,