mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
fix: fix a small clippy lint
error: binding's name is too similar to existing binding
This commit is contained in:
parent
af8da7f06c
commit
38e529fe6b
1 changed files with 4 additions and 3 deletions
|
@ -146,9 +146,10 @@ where
|
|||
modifier = cell.modifier;
|
||||
}
|
||||
if cell.fg != fg || cell.bg != bg {
|
||||
let fg_color = CColor::from(cell.fg);
|
||||
let bg_color = CColor::from(cell.bg);
|
||||
queue!(self.writer, SetColors(Colors::new(fg_color, bg_color)))?;
|
||||
queue!(
|
||||
self.writer,
|
||||
SetColors(Colors::new(cell.fg.into(), cell.bg.into()))
|
||||
)?;
|
||||
fg = cell.fg;
|
||||
bg = cell.bg;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue