Fix Clippy lints (#3494)

* chore: fix some Clippy lints

* chore(labrinth): more Clippy fixes
This commit is contained in:
Alejandro González
2025-04-12 15:45:17 +02:00
committed by GitHub
parent 365367dd16
commit e008b657a5
6 changed files with 10 additions and 13 deletions

View File

@@ -189,8 +189,8 @@ impl ChargeType {
pub fn as_str(&self) -> &'static str {
match self {
ChargeType::OneTime => "one-time",
ChargeType::Subscription { .. } => "subscription",
ChargeType::Proration { .. } => "proration",
ChargeType::Subscription => "subscription",
ChargeType::Proration => "proration",
ChargeType::Refund => "refund",
}
}