From 6b4fee88c901187edc7d6a926446ebd0aa4e4b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Sun, 5 Sep 2021 01:35:08 +0300 Subject: [PATCH] Fmt --- crates/nu-parser/src/flatten.rs | 2 +- crates/nu-protocol/src/value.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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