From c7f718138818e82971426f8dec576a97db3821f0 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Wed, 8 Jun 2022 06:55:57 +1000 Subject: [PATCH] Set `WindowBuilder` to must_use --- src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.rs b/src/window.rs index 96189872..27184d4c 100644 --- a/src/window.rs +++ b/src/window.rs @@ -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,