mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:05:54 +02:00
Try again with math-like externals (#4629)
* Try again with math-like externals * clippy 1.59 * clippy 1.59 * clippy 1.59
This commit is contained in:
@ -2956,9 +2956,8 @@ pub fn parse_table_expression(
|
||||
{
|
||||
match values.len().cmp(&table_headers.len()) {
|
||||
std::cmp::Ordering::Less => {
|
||||
error = error.or_else(|| {
|
||||
Some(ParseError::MissingColumns(table_headers.len(), span))
|
||||
})
|
||||
error = error
|
||||
.or(Some(ParseError::MissingColumns(table_headers.len(), span)))
|
||||
}
|
||||
std::cmp::Ordering::Equal => {}
|
||||
std::cmp::Ordering::Greater => {
|
||||
|
Reference in New Issue
Block a user