Make clippy_lints's doc tests succeed
This commit is contained in:
parent
3a6f59ecae
commit
c81bea45f4
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ declare_clippy_lint! {
|
|||
/// while the latter is `&[u8; 3]`. That means in general they will have a
|
||||
/// different set of methods and different trait implementations.
|
||||
///
|
||||
/// ```rust
|
||||
/// ```compile_fail
|
||||
/// fn f(v: Vec<u8>) {}
|
||||
///
|
||||
/// f("...".as_bytes().to_owned()); // works
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue