forked from extern/nushell
Fix clippy lints (#4262)
* Fix clippy lints * Fix clippy lints * Fix clippy lints
This commit is contained in:
@ -970,7 +970,7 @@ fn move_item(from: &Path, from_tag: &Tag, to: &Path) -> Result<(), ShellError> {
|
||||
} {
|
||||
Ok(_) => Ok(()),
|
||||
Err(e) => Err(ShellError::labeled_error(
|
||||
format!("Could not move {:?} to {:?}. {:}", from, to, e.to_string()),
|
||||
format!("Could not move {:?} to {:?}. {:}", from, to, e),
|
||||
"could not move",
|
||||
from_tag,
|
||||
)),
|
||||
|
@ -147,7 +147,7 @@ pub fn process_script(
|
||||
{
|
||||
val.to_string()
|
||||
} else {
|
||||
format!("{}\\", name.to_string())
|
||||
format!("{}\\", name)
|
||||
}
|
||||
} else {
|
||||
name.to_string()
|
||||
|
Reference in New Issue
Block a user