Fixes clippy warning.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2022-07-01 18:49:09 +02:00
parent cfabd7c790
commit 8eb1159d64
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ impl<'own, 'library> Battle<'own, 'library> {
} }
/// The eventual result of the battle. Inconclusive until the battle is ended. /// The eventual result of the battle. Inconclusive until the battle is ended.
pub fn result(&self) -> BattleResult { pub fn result(&self) -> BattleResult {
self.result.read().clone() *self.result.read()
} }
/// The handler to send all events to. /// The handler to send all events to.
pub fn event_hook(&self) -> &EventHook { pub fn event_hook(&self) -> &EventHook {