From d139e19bd287ba340b923136c266a77367b83990 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 18 May 2024 16:57:03 +0200 Subject: refactor(engine): fix clippy lints --- engine/src/util.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/src/util.rs') 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 { $( -- cgit v1.2.3-18-g5258