Fixes all clippy warnings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -35,3 +35,13 @@ impl Ability {
|
||||
&self.parameters
|
||||
}
|
||||
}
|
||||
|
||||
/// An ability index allows us to find an ability on a form. It combines a bool for whether the
|
||||
/// ability is hidden or not, and then an index of the ability.
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
pub struct AbilityIndex {
|
||||
/// Whether or not the ability we're referring to is a hidden ability.
|
||||
pub hidden: bool,
|
||||
/// The index of the ability.
|
||||
pub index: u8,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user