mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 22:47:43 +02:00
Fix new clippy warnings (#2760)
* Fix new clippy warnings * Fork serde-hjson and bring in * Fork serde-hjson and bring in * Fix clippy lint again
This commit is contained in:
@ -508,7 +508,7 @@ pub fn forgiving_insert_data_at_column_path(
|
||||
}
|
||||
UnspannedPathMember::Int(int) => {
|
||||
let mut rows = vec![];
|
||||
let size = int.to_usize().unwrap_or_else(|| 0);
|
||||
let size = int.to_usize().unwrap_or(0);
|
||||
|
||||
for _ in 0..=size {
|
||||
rows.push(
|
||||
|
Reference in New Issue
Block a user