From 4215292793f51b2b28031ef0e6588c59d1cdff66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Thu, 24 Nov 2016 16:09:09 +0700 Subject: [PATCH] let_if_seq: fix rewrite example --- clippy_lints/src/let_if_seq.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clippy_lints/src/let_if_seq.rs b/clippy_lints/src/let_if_seq.rs index 9c78e864c..598f1b3a5 100644 --- a/clippy_lints/src/let_if_seq.rs +++ b/clippy_lints/src/let_if_seq.rs @@ -31,13 +31,13 @@ use utils::{snippet, span_lint_and_then}; /// /// ```rust,ignore /// let foo = if bar() { -/// 42; +/// 42 /// } else { -/// 0; +/// 0 /// }; /// /// let baz = if bar() { -/// Some(42); +/// Some(42) /// } else { /// None /// };