We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6f59e commit c81bea4Copy full SHA for c81bea4
clippy_lints/src/strings.rs
@@ -75,7 +75,7 @@ declare_clippy_lint! {
75
/// while the latter is `&[u8; 3]`. That means in general they will have a
76
/// different set of methods and different trait implementations.
77
///
78
- /// ```rust
+ /// ```compile_fail
79
/// fn f(v: Vec<u8>) {}
80
81
/// f("...".as_bytes().to_owned()); // works
0 commit comments