updated deps

fixed clippy remarks
This commit is contained in:
2024-10-20 14:59:20 +02:00
parent 210d590e38
commit efc4cdd363
12 changed files with 515 additions and 221 deletions

View File

@@ -13,11 +13,7 @@ pub struct LevelWidget {}
impl LevelWidget {
fn set_cell(&self, buf: &mut Buffer, x: u16, y: u16, symbol: &str, fg: Color, bg: Color) {
buf.
get_mut(x, y).
set_symbol(symbol).
set_bg(bg).
set_fg(fg);
buf[(x, y)].set_symbol(symbol).set_bg(bg).set_fg(fg);
}
}