Clippy
This commit is contained in:
@ -127,7 +127,7 @@ impl Component for Buflist {
|
||||
|
||||
let area = inner_area;
|
||||
self.last_area = Some(area);
|
||||
self.last_num_buffers = buffers.len().try_into().ok();
|
||||
self.last_num_buffers = Some(buffers.len());
|
||||
|
||||
let num_digits = u32::min(5, buffers.len().ilog10() + 1) as usize;
|
||||
let right_pad = " ".repeat(area.width.into());
|
||||
|
Reference in New Issue
Block a user