mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:45:08 +02:00
Bump rustyline (#1644)
* Bump rustyline * Fix new clippy warnings * Add pipeline command
This commit is contained in:
@ -152,15 +152,16 @@ impl ExternalCommand {
|
||||
SpannedExpression {
|
||||
expr: Expression::Path(path),
|
||||
..
|
||||
} => match &**path {
|
||||
Path { head, .. } => match head {
|
||||
} => {
|
||||
let Path { head, .. } = &**path;
|
||||
match head {
|
||||
SpannedExpression {
|
||||
expr: Expression::Variable(Variable::It(_)),
|
||||
..
|
||||
} => true,
|
||||
_ => false,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
_ => false,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user