diff options
author | bravomikekilo <[email protected]> | 2019-11-24 05:14:57 +0000 |
---|---|---|
committer | bravomikekilo <[email protected]> | 2019-11-24 05:14:57 +0000 |
commit | adac4fc2f21117486356063d82d79f8c3add084a (patch) | |
tree | 5d99ff1e3b5b0dcc19aa28633c102490454b3a89 /docs/user | |
parent | 1ebfa908d50a7ef4765d2abb432531d9c98cbb58 (diff) |
do refact and fix some issue
Diffstat (limited to 'docs/user')
-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 | ||