From adac4fc2f21117486356063d82d79f8c3add084a Mon Sep 17 00:00:00 2001 From: bravomikekilo Date: Sun, 24 Nov 2019 13:14:57 +0800 Subject: do refact and fix some issue --- docs/user/assists.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/user') 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`. ```rust // BEFORE fn main() { - if┃ !y {A} else {B} + if┃ !y { A } else { B } } // AFTER fn main() { - if y {B} else {A} + if y { B } else { A } } ``` -- cgit v1.2.3