Fixes all clippy warnings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-01 18:20:16 +02:00
parent 717fcdefda
commit 0d95dcf618
19 changed files with 108 additions and 55 deletions

View File

@@ -5,12 +5,8 @@ pub use battle_party::*;
#[doc(inline)]
pub use battle_random::*;
#[doc(inline)]
pub use battle_result::*;
#[doc(inline)]
pub use battle_side::*;
#[doc(inline)]
pub use damage_source::*;
#[doc(inline)]
pub use executing_move::*;
#[doc(inline)]
pub use learned_move::*;
@@ -21,14 +17,21 @@ pub use pokemon_builder::*;
#[doc(inline)]
pub use pokemon_party::*;
/// Data regarding the battle itself.
mod battle;
/// Data regarding parties that are part of a battle.
mod battle_party;
/// Data regarding the RNG for battles.
mod battle_random;
mod battle_result;
/// Data regarding a single side on the battle.
mod battle_side;
mod damage_source;
/// Data regarding a move that is being executed.
mod executing_move;
/// Data regarding a move that is learned by a Pokemon.
mod learned_move;
/// Data for an individual Pokemon.
mod pokemon;
/// A constructor for Pokemon.
mod pokemon_builder;
/// Data for a group of Pokemon belonging to a trainer.
mod pokemon_party;