diff --git a/crates/nu-command/src/filters/items.rs b/crates/nu-command/src/filters/items.rs index 619adee4a7..758594356d 100644 --- a/crates/nu-command/src/filters/items.rs +++ b/crates/nu-command/src/filters/items.rs @@ -123,8 +123,7 @@ impl Command for Items { fn examples(&self) -> Vec { vec![Example { - example: - "{ new: york, san: francisco } | items {|key, value| echo $'($key) ($value)' }", + example: "{ new: york, san: francisco } | items {|key, value| $'($key) ($value)' }", description: "Iterate over each key-value pair of a record", result: Some(Value::list( vec![