mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Fix some clippy lints
This commit is contained in:
parent
2da1264681
commit
838dafd028
5 changed files with 5 additions and 5 deletions
|
@ -343,7 +343,7 @@ impl CardKeyword {
|
|||
///
|
||||
/// Equivalent to calling [LocalizedCardKeywordIndex::get].
|
||||
pub fn localized<'hm>(&self, hm: &'hm LocalizedCardKeywordIndex) -> Option<&'hm LocalizedCardKeyword> {
|
||||
hm.get(&self)
|
||||
hm.get(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ impl CardRarity {
|
|||
///
|
||||
/// Equivalent to calling [LocalizedCardRarityIndex::get].
|
||||
pub fn localized<'hm>(&self, hm: &'hm LocalizedCardRarityIndex) -> Option<&'hm LocalizedCardRarity> {
|
||||
hm.get(&self)
|
||||
hm.get(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ impl CardRegion {
|
|||
///
|
||||
/// Equivalent to calling [LocalizedCardRegionIndex::get].
|
||||
pub fn localized<'hm>(&self, hm: &'hm LocalizedCardRegionIndex) -> Option<&'hm LocalizedCardRegion> {
|
||||
hm.get(&self)
|
||||
hm.get(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ impl CardSet {
|
|||
///
|
||||
/// Equivalent to calling [LocalizedCardSetIndex::get].
|
||||
pub fn localized<'hm>(&self, hm: &'hm LocalizedCardSetIndex) -> Option<&'hm LocalizedCardSet> {
|
||||
hm.get(&self)
|
||||
hm.get(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ impl SpellSpeed {
|
|||
///
|
||||
/// Equivalent to calling [LocalizedSpellSpeedIndex::get].
|
||||
pub fn localized<'hm>(&self, hm: &'hm LocalizedSpellSpeedIndex) -> Option<&'hm LocalizedSpellSpeed> {
|
||||
hm.get(&self)
|
||||
hm.get(self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue