Skip to content

Commit

Permalink
chore: made clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Nov 13, 2024
1 parent f37b917 commit 93f3756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mania/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ impl<'a> ObjectParams<'a> {
}
}

pub fn max_combo(&self) -> u32 {
pub const fn max_combo(&self) -> u32 {
self.max_combo
}

pub fn n_hold_notes(&self) -> u32 {
pub const fn n_hold_notes(&self) -> u32 {
self.n_hold_notes
}
}

0 comments on commit 93f3756

Please sign in to comment.