Compare commits

..

1 Commits

Author SHA1 Message Date
dac0baee8c Update Rust crate env_logger to v0.11.5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-26 00:11:32 +00:00
3 changed files with 236 additions and 381 deletions

613
rust/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -144,7 +144,7 @@ impl GameRules {
/// Check out whether these game rules are valid or not /// Check out whether these game rules are valid or not
pub fn is_valid(&self) -> bool { pub fn is_valid(&self) -> bool {
self.get_errors().is_empty() return self.get_errors().is_empty();
} }
} }

View File

@ -98,7 +98,7 @@ impl<'a> GameMapWidget<'a> {
} }
} }
impl Widget for GameMapWidget<'_> { impl<'a> Widget for GameMapWidget<'a> {
fn render(mut self, area: Rect, buf: &mut Buffer) { fn render(mut self, area: Rect, buf: &mut Buffer) {
let alphabet = PlayConfiguration::default().ordinate_alphabet; let alphabet = PlayConfiguration::default().ordinate_alphabet;