1
Fork 0

Warn in doc test

This commit is contained in:
Ryan Levick 2021-02-17 10:06:23 +01:00
parent 1999a3147f
commit 25637b228d

View file

@ -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();