diff --git a/crates/nu-parser/src/flatten.rs b/crates/nu-parser/src/flatten.rs index d850bd5c6..dec4c89f5 100644 --- a/crates/nu-parser/src/flatten.rs +++ b/crates/nu-parser/src/flatten.rs @@ -67,7 +67,7 @@ pub fn flatten_expression( Expr::Float(_) => { vec![(expr.span, FlatShape::Float)] } - Expr::Range(from, to, op) => { + Expr::Range(from, to, op) => { let mut output = vec![]; if let Some(f) = from { output.extend(flatten_expression(working_set, f)); diff --git a/crates/nu-protocol/src/value.rs b/crates/nu-protocol/src/value.rs index 745bbbaad..d1d72727c 100644 --- a/crates/nu-protocol/src/value.rs +++ b/crates/nu-protocol/src/value.rs @@ -241,7 +241,7 @@ impl Value { .collect::>() .join(", ".into()) ) - }, + } Value::String { val, .. } => val, Value::ValueStream { stream, .. } => stream.into_string(), Value::List { val, .. } => val