From 7b78c39cb604961564b1d4e0a491eafacc85e8cb Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 14 Nov 2025 09:51:12 -0500 Subject: Enable more clippy lints --- graphics/src/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/src/timer.rs') diff --git a/graphics/src/timer.rs b/graphics/src/timer.rs index 8310776..a8317c7 100644 --- a/graphics/src/timer.rs +++ b/graphics/src/timer.rs @@ -52,7 +52,7 @@ impl Timer { self.count += 1; } - pub fn get_frame(&self) -> u32 { + pub const fn get_frame(&self) -> u32 { self.count } -- cgit v1.2.3-freya