Compare commits

..

1 Commits

Author SHA1 Message Date
d89aa849d7 Update Rust crate semver to v1.0.23 2024-05-08 00:30:54 +00:00
3 changed files with 193 additions and 339 deletions
rust
Cargo.lock
sea_battle_backend/src/data
sea_battle_cli_player/src/ui_widgets

528
rust/Cargo.lock generated

File diff suppressed because it is too large Load Diff

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

@ -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) {
let alphabet = PlayConfiguration::default().ordinate_alphabet;