Fix cargo clippy issue
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:
parent
bfd1c4db30
commit
15b9177ea1
@ -144,7 +144,7 @@ impl GameRules {
|
||||
|
||||
/// Check out whether these game rules are valid or not
|
||||
pub fn is_valid(&self) -> bool {
|
||||
return self.get_errors().is_empty();
|
||||
self.get_errors().is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ impl<'a> GameMapWidget<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Widget for GameMapWidget<'a> {
|
||||
impl Widget for GameMapWidget<'_> {
|
||||
fn render(mut self, area: Rect, buf: &mut Buffer) {
|
||||
let alphabet = PlayConfiguration::default().ordinate_alphabet;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user