mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 00:18:28 +02:00
Fix ignored clippy lints (#12160)
# Description Fixes some ignored clippy lints. # User-Facing Changes Changes some signatures and return types to `&dyn Command` instead of `&Box<dyn Command`, but I believe this is only an internal change.
This commit is contained in:
@ -48,7 +48,6 @@ pub fn build_table(value: Value, description: String, termsize: usize) -> String
|
||||
|
||||
add_padding_to_widths(&mut widths);
|
||||
|
||||
#[allow(clippy::manual_clamp)]
|
||||
let width = val_table_width.max(desc_table_width).min(termsize);
|
||||
|
||||
let mut desc_table = Table::from_iter([[String::from("description"), desc]]);
|
||||
|
Reference in New Issue
Block a user