Skip to content

Commit 3886edb

Browse files
author
Frank
committed
fix error message
1 parent 725a0ef commit 3886edb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/disallowed_method.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ declare_clippy_lint! {
1616
///
1717
/// **Example:**
1818
///
19-
/// ```rust
19+
/// ```rust,ignore
2020
/// // example code where clippy issues a warning
2121
/// foo.bad_method(); // Foo is disallowed
2222
/// ```
2323
/// Use instead:
24-
/// ```rust
24+
/// ```rust,ignore
2525
/// // example code which does not raise clippy warning
26-
/// GoodStruct.bad_method(); // not disallowed
26+
/// goodStruct.bad_method(); // not disallowed
2727
/// ```
2828
pub DISALLOWED_METHOD,
2929
nursery,

0 commit comments

Comments
 (0)