From abb6d9f10fcd51eee9d80f0aaf6d54bd6f3111f1 Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 26 Oct 2021 14:49:25 +1300 Subject: [PATCH] Fix par-each example --- crates/nu-command/src/filters/par_each.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filters/par_each.rs b/crates/nu-command/src/filters/par_each.rs index 79ecab43ec..d3b24cd24d 100644 --- a/crates/nu-command/src/filters/par_each.rs +++ b/crates/nu-command/src/filters/par_each.rs @@ -28,7 +28,7 @@ impl Command for ParEach { fn examples(&self) -> Vec { vec![Example { - example: "[1 2 3] | each { 2 * $it }", + example: "[1 2 3] | par-each { 2 * $it }", description: "Multiplies elements in list", result: None, }]