mirror of
https://github.com/nushell/nushell.git
synced 2025-04-30 16:14:27 +02:00
Fix match
example whitespace (#9961)
I was looking up `match` documentation and noticed that the formatting was a bit off for the last example (starts on the wrong line, is several columns too far to the right). ## Before:  ## After: 
This commit is contained in:
parent
85c2035016
commit
0674d4960b
@ -121,8 +121,7 @@ impl Command for Match {
|
|||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Match with a guard",
|
description: "Match with a guard",
|
||||||
example: "
|
example: "match [1 2 3] {
|
||||||
match [1 2 3] {
|
|
||||||
[$x, ..$y] if $x == 1 => { 'good list' },
|
[$x, ..$y] if $x == 1 => { 'good list' },
|
||||||
_ => { 'not a very good list' }
|
_ => { 'not a very good list' }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user