mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Bump calamine
and fix clippy (#10314)
Upgrade calamine to 0.22 Reduces one potential dependency duplication Supersedes #10305 Includes fixes for clippy lints as API changed to return owned data.
This commit is contained in:
committed by
GitHub
parent
baa50ec9b2
commit
eddff46155
@ -32,7 +32,7 @@ alphanumeric-sort = "1.5"
|
||||
base64 = "0.21"
|
||||
byteorder = "1.4"
|
||||
bytesize = "1.3"
|
||||
calamine = "0.21"
|
||||
calamine = "0.22"
|
||||
chrono = { version = "0.4", features = ["std", "unstable-locales"], default-features = false }
|
||||
chrono-humanize = "0.2.3"
|
||||
chrono-tz = "0.8"
|
||||
|
@ -128,7 +128,7 @@ fn from_ods(
|
||||
|
||||
let mut dict = IndexMap::new();
|
||||
|
||||
let mut sheet_names = ods.sheet_names().to_owned();
|
||||
let mut sheet_names = ods.sheet_names();
|
||||
if !sel_sheets.is_empty() {
|
||||
sheet_names.retain(|e| sel_sheets.contains(e));
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ fn from_xlsx(
|
||||
|
||||
let mut dict = IndexMap::new();
|
||||
|
||||
let mut sheet_names = xlsx.sheet_names().to_owned();
|
||||
let mut sheet_names = xlsx.sheet_names();
|
||||
if !sel_sheets.is_empty() {
|
||||
sheet_names.retain(|e| sel_sheets.contains(e));
|
||||
}
|
||||
|
Reference in New Issue
Block a user