Clippy fixes for Rust 1.58 (#733)

* Clippy fixes for Rust 1.58

* Try different message
This commit is contained in:
JT
2022-01-14 06:40:25 +11:00
committed by GitHub
parent 1ecbebb24a
commit bc1e1aa944
11 changed files with 11 additions and 19 deletions

View File

@ -196,7 +196,7 @@ impl NuDataFrame {
let df_new = DataFrame::new(new_cols).map_err(|e| {
ShellError::SpannedLabeledError(
"Error appending dataframe".into(),
format!("Unable to append dataframes: {}", e.to_string()),
format!("Unable to append dataframes: {}", e),
span,
)
})?;