Fixes for newer clippy
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-09-24 18:24:02 +02:00
parent d8b8559c2e
commit e666bb5a0e
11 changed files with 22 additions and 53 deletions

View File

@@ -137,9 +137,9 @@ pub struct WeakPokemonReference {
data: Weak<PokemonData>,
}
unsafe impl Send for WeakPokemonReference {}
unsafe impl Send for PokemonData {}
unsafe impl Sync for WeakPokemonReference {}
unsafe impl Sync for PokemonData {}
impl Pokemon {
/// Instantiates a new Pokemon.