diff options
Diffstat (limited to 'engine/src/util.rs')
-rw-r--r-- | engine/src/util.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/src/util.rs b/engine/src/util.rs index a7d5794..409b98f 100644 --- a/engine/src/util.rs +++ b/engine/src/util.rs @@ -60,6 +60,7 @@ macro_rules! builder { impl $builder_name { $( + #[must_use] $visibility fn $field(mut self, $field: $field_type) -> Self { self.$field = $field; @@ -67,6 +68,7 @@ macro_rules! builder { } )* + #[must_use] $visibility fn build(self) -> $name { $name { $( |