justify enum size
This commit is contained in:
@@ -40,6 +40,9 @@ use crate::{
|
|||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [`GradualPerformance`]: crate::GradualPerformance
|
/// [`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 {
|
pub enum GradualDifficulty {
|
||||||
Osu(OsuGradualDifficulty),
|
Osu(OsuGradualDifficulty),
|
||||||
Taiko(TaikoGradualDifficulty),
|
Taiko(TaikoGradualDifficulty),
|
||||||
|
|||||||
@@ -89,6 +89,9 @@ use crate::{
|
|||||||
/// [`next`]: GradualPerformance::next
|
/// [`next`]: GradualPerformance::next
|
||||||
/// [`nth`]: GradualPerformance::nth
|
/// [`nth`]: GradualPerformance::nth
|
||||||
/// [`GradualDifficulty`]: crate::GradualDifficulty
|
/// [`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 {
|
pub enum GradualPerformance {
|
||||||
Osu(OsuGradualPerformance),
|
Osu(OsuGradualPerformance),
|
||||||
Taiko(TaikoGradualPerformance),
|
Taiko(TaikoGradualPerformance),
|
||||||
|
|||||||
Reference in New Issue
Block a user