diff options
Diffstat (limited to 'crates/ra_assists')
-rw-r--r-- | crates/ra_assists/src/assists/early_return.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/assists/early_return.rs b/crates/ra_assists/src/assists/early_return.rs index 9c95adc53..f7d7e12e7 100644 --- a/crates/ra_assists/src/assists/early_return.rs +++ b/crates/ra_assists/src/assists/early_return.rs | |||
@@ -2,7 +2,7 @@ | |||
2 | //! | 2 | //! |
3 | //! Replace a large conditional with a guarded return. | 3 | //! Replace a large conditional with a guarded return. |
4 | //! | 4 | //! |
5 | //! ```notrust | 5 | //! ```text |
6 | //! fn <|>main() { | 6 | //! fn <|>main() { |
7 | //! if cond { | 7 | //! if cond { |
8 | //! foo(); | 8 | //! foo(); |
@@ -11,7 +11,7 @@ | |||
11 | //! } | 11 | //! } |
12 | //! ``` | 12 | //! ``` |
13 | //! -> | 13 | //! -> |
14 | //! ```notrust | 14 | //! ```text |
15 | //! fn main() { | 15 | //! fn main() { |
16 | //! if !cond { | 16 | //! if !cond { |
17 | //! return; | 17 | //! return; |