Merge pull request #253 from nushell/par_each_example

Fix par-each example
This commit is contained in:
JT 2021-10-26 15:08:34 +13:00 committed by GitHub
commit 9995cbc03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ impl Command for ParEach {
fn examples(&self) -> Vec<Example> {
vec![Example {
example: "[1 2 3] | each { 2 * $it }",
example: "[1 2 3] | par-each { 2 * $it }",
description: "Multiplies elements in list",
result: None,
}]