justify enum size
This commit is contained in:
1 parent
5d77e246ae
commit
428c9b17b1
2 files changed
+6
No files matched your search
@@ -40,6 +40,9 @@ use crate::{
|
||||
/// ```
|
||||
///
|
||||
/// [`GradualPerformance`]: crate::GradualPerformance
|
||||
// 504 vs 184 bytes is an acceptable difference and the Osu variant (424 bytes)
|
||||
// is likely the most used one anyway.
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum GradualDifficulty {
|
||||
Osu(OsuGradualDifficulty),
|
||||
Taiko(TaikoGradualDifficulty),
|
||||
|
||||
@@ -89,6 +89,9 @@ use crate::{
|
||||
/// [`next`]: GradualPerformance::next
|
||||
/// [`nth`]: GradualPerformance::nth
|
||||
/// [`GradualDifficulty`]: crate::GradualDifficulty
|
||||
// 504 vs 184 bytes is an acceptable difference and the Osu variant (424 bytes)
|
||||
// is likely the most used one anyway.
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum GradualPerformance {
|
||||
Osu(OsuGradualPerformance),
|
||||
Taiko(TaikoGradualPerformance),
|
||||
|
||||
Reference in new issue
Block a user