diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-14 09:51:12 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-14 09:51:12 -0500 |
| commit | 7b78c39cb604961564b1d4e0a491eafacc85e8cb (patch) | |
| tree | 8618f2a4fc76a389bcabdeb94ff46ab6d74b1d77 /graphics/src/timer.rs | |
| parent | dungeon: refactor manual drop (diff) | |
| download | DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.gz DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.tar.bz2 DungeonCrawl-7b78c39cb604961564b1d4e0a491eafacc85e8cb.zip | |
Enable more clippy lints
Diffstat (limited to '')
| -rw-r--r-- | graphics/src/timer.rs | 2 |
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 } |