diff options
author | Aleksey Kladov <[email protected]> | 2019-10-26 16:03:55 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-26 16:03:55 +0100 |
commit | 4ef9b8d17a75d3f68951f506ad390e1367c1b2ad (patch) | |
tree | cb4b57959387ad8c9615653218d752ea54f5f85a /docs | |
parent | 3126152a84e08a80659d49d735d03628154564ed (diff) |
use correct spacing for enum pattern
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/assists.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 7a64c80ad..603b29c66 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -191,7 +191,7 @@ enum Action { Move { distance: u32 }, Stop } | |||
191 | 191 | ||
192 | fn handle(action: Action) { | 192 | fn handle(action: Action) { |
193 | match action { | 193 | match action { |
194 | Action::Move{ distance } => (), | 194 | Action::Move { distance } => (), |
195 | Action::Stop => (), | 195 | Action::Stop => (), |
196 | } | 196 | } |
197 | } | 197 | } |