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:

![image](https://github.com/nushell/nushell/assets/26268125/cea55875-894c-442f-aa93-d5c18a0cdfa5)

## After:


![image](https://github.com/nushell/nushell/assets/26268125/064c9f80-6a70-4748-a877-5344ec6e6a80)
This commit is contained in:
Reilly Wood 2023-08-08 22:13:02 -07:00 committed by GitHub
parent 85c2035016
commit 0674d4960b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' }
} }