mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +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:
@ -2346,7 +2346,6 @@ fn join_lines(lines: impl IntoIterator<Item = impl AsRef<str>>) -> String {
|
||||
}
|
||||
|
||||
// util function to easier copy && paste
|
||||
#[allow(dead_code)]
|
||||
fn _print_lines(s: &str, w: usize) {
|
||||
eprintln!("{:#?}", _split_str_by_width(s, w));
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
use nu_test_support::nu;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(feature = "sqlite")]
|
||||
use nu_test_support::pipeline;
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user