mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:55:55 +02:00
Fix a bunch of future clippy warnings (#3586)
* Fix a bunch of future clippy warnings * Fix a bunch of future clippy warnings
This commit is contained in:
@ -112,7 +112,7 @@ impl CallStub {
|
||||
}
|
||||
|
||||
pub fn with_parameter(&mut self, name: &str) -> Result<&mut Self, ShellError> {
|
||||
let cp = column_path(&name)
|
||||
let cp = column_path(name)
|
||||
.as_column_path()
|
||||
.expect("Failed! Expected valid column path.");
|
||||
let cp = UntaggedValue::Primitive(Primitive::ColumnPath(cp.item)).into_value(cp.tag);
|
||||
|
Reference in New Issue
Block a user