Skip to content

Commit c81bea4

Browse files
committed
Make clippy_lints's doc tests succeed
1 parent 3a6f59e commit c81bea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/strings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ declare_clippy_lint! {
7575
/// while the latter is `&[u8; 3]`. That means in general they will have a
7676
/// different set of methods and different trait implementations.
7777
///
78-
/// ```rust
78+
/// ```compile_fail
7979
/// fn f(v: Vec<u8>) {}
8080
///
8181
/// f("...".as_bytes().to_owned()); // works

0 commit comments

Comments
 (0)