mirror of
https://github.com/nushell/nushell.git
synced 2024-11-16 05:23:44 +01:00
Merge pull request #253 from nushell/par_each_example
Fix par-each example
This commit is contained in:
commit
9995cbc03b
@ -28,7 +28,7 @@ impl Command for ParEach {
|
|||||||
|
|
||||||
fn examples(&self) -> Vec<Example> {
|
fn examples(&self) -> Vec<Example> {
|
||||||
vec![Example {
|
vec![Example {
|
||||||
example: "[1 2 3] | each { 2 * $it }",
|
example: "[1 2 3] | par-each { 2 * $it }",
|
||||||
description: "Multiplies elements in list",
|
description: "Multiplies elements in list",
|
||||||
result: None,
|
result: None,
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user