Warn in doc test
This commit is contained in:
parent
1999a3147f
commit
25637b228d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ declare_lint! {
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # #![allow(unused)]
|
/// # #![allow(unused)]
|
||||||
/// #![deny(noop_method_call)]
|
/// #![warn(noop_method_call)]
|
||||||
/// struct Foo;
|
/// struct Foo;
|
||||||
/// let foo = &Foo;
|
/// let foo = &Foo;
|
||||||
/// let clone: &Foo = foo.clone();
|
/// let clone: &Foo = foo.clone();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue