diff --git a/crates/nu-command/src/commands/for_in.rs b/crates/nu-command/src/commands/for_in.rs index 08dcaf5d46..d302e0037f 100644 --- a/crates/nu-command/src/commands/for_in.rs +++ b/crates/nu-command/src/commands/for_in.rs @@ -48,17 +48,8 @@ impl WholeStreamCommand for ForIn { ]), }, Example { - description: "Echo the square of each integer", - example: "for x in 1..3 { $x }", - result: Some(vec![ - UntaggedValue::int(1).into(), - UntaggedValue::int(2).into(), - UntaggedValue::int(3).into(), - ]), - }, - Example { - description: "Echo the square of each integer", - example: "for x in 1..3 { $x }", + description: "Work with elements of a range", + example: "for $x in 1..3 { $x }", result: Some(vec![ UntaggedValue::int(1).into(), UntaggedValue::int(2).into(),