diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/assists.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 6e7811bd6..6f4c30bee 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -339,12 +339,12 @@ on `if`. | |||
339 | ```rust | 339 | ```rust |
340 | // BEFORE | 340 | // BEFORE |
341 | fn main() { | 341 | fn main() { |
342 | if┃ !y {A} else {B} | 342 | if┃ !y { A } else { B } |
343 | } | 343 | } |
344 | 344 | ||
345 | // AFTER | 345 | // AFTER |
346 | fn main() { | 346 | fn main() { |
347 | if y {B} else {A} | 347 | if y { B } else { A } |
348 | } | 348 | } |
349 | ``` | 349 | ``` |
350 | 350 | ||