From b5f13d8d51ef9107363a60b894a741ab596921ce Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 23 Oct 2019 18:13:40 +0300 Subject: xtask: move codegen to a module --- crates/ra_assists/src/assists/early_return.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_assists/src/assists') 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 @@ //! //! Replace a large conditional with a guarded return. //! -//! ```notrust +//! ```text //! fn <|>main() { //! if cond { //! foo(); @@ -11,7 +11,7 @@ //! } //! ``` //! -> -//! ```notrust +//! ```text //! fn main() { //! if !cond { //! return; -- cgit v1.2.3