From f2e8f526e6381288f3d780e2d2ab4835294c6757 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 21 Mar 2017 08:57:54 +0100 Subject: [PATCH] Run rustfmt --- clippy_lints/src/doc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/doc.rs b/clippy_lints/src/doc.rs index 816ec8b6b..c6f7512f0 100644 --- a/clippy_lints/src/doc.rs +++ b/clippy_lints/src/doc.rs @@ -90,8 +90,8 @@ pub fn check_attrs<'a>(cx: &EarlyContext, valid_idents: &[String], attrs: &'a [a for attr in attrs { if attr.is_sugared_doc { if let Some(ref doc) = attr.value_str() { - let doc = (*doc.as_str()).to_owned(); - docs.extend_from_slice(&strip_doc_comment_decoration((doc, attr.span))); + let doc = (*doc.as_str()).to_owned(); + docs.extend_from_slice(&strip_doc_comment_decoration((doc, attr.span))); } } }