justify enum size

This commit is contained in:
MaxOhn
2024-02-27 13:11:53 +01:00
parent 5d77e246ae
commit 428c9b17b1
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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),
+3
View File
@@ -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),