Fixes clippy warning.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
cfabd7c790
commit
8eb1159d64
|
@ -141,7 +141,7 @@ impl<'own, 'library> Battle<'own, 'library> {
|
|||
}
|
||||
/// The eventual result of the battle. Inconclusive until the battle is ended.
|
||||
pub fn result(&self) -> BattleResult {
|
||||
self.result.read().clone()
|
||||
*self.result.read()
|
||||
}
|
||||
/// The handler to send all events to.
|
||||
pub fn event_hook(&self) -> &EventHook {
|
||||
|
|
Loading…
Reference in New Issue