summaryrefslogtreecommitdiff
path: root/graphics/src/timer.rs
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-14 09:51:12 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-14 09:51:12 -0500
commit7b78c39cb604961564b1d4e0a491eafacc85e8cb (patch)
tree8618f2a4fc76a389bcabdeb94ff46ab6d74b1d77 /graphics/src/timer.rs
parentdungeon: refactor manual drop (diff)
downloadDungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.gz
DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.bz2
DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.zip
Enable more clippy lints
Diffstat (limited to 'graphics/src/timer.rs')
-rw-r--r--graphics/src/timer.rs2
1 files changed, 1 insertions, 1 deletions
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
}