]> git.lizzy.rs Git - rust.git/commitdiff
Fix `MANY_SINGLE_CHAR_NAMES`'s docs
authormcarton <cartonmartin+git@gmail.com>
Thu, 14 Jul 2016 15:42:40 +0000 (17:42 +0200)
committermcarton <cartonmartin+git@gmail.com>
Thu, 14 Jul 2016 15:42:57 +0000 (17:42 +0200)
clippy_lints/src/non_expressive_names.rs

index 17f12afcaec9c5dd8c2140d1a7b0244bfbf3dd5e..6d3f44036c062384040b5ff35880e15dd7353821 100644 (file)
 ///
 /// **Known problems:** None?
 ///
-/// **Example:** let (a, b, c, d, e, f, g) = (...);
+/// **Example:**
+///
+/// ```rust
+/// let (a, b, c, d, e, f, g) = (...);
+/// ```
 declare_lint! {
     pub MANY_SINGLE_CHAR_NAMES,
     Warn,