Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_doctest_main clippy lint
warning: needless `fn main` in doctest --> src/lib.rs:22:5 | 22 | //! use dyn_clone::DynClone; | _____^ 23 | | //! 24 | | //! trait MyTrait: DynClone { 25 | | //! fn recite(&self); ... | 46 | | //! x2.recite(); 47 | | //! } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main = note: `-W clippy::needless-doctest-main` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_doctest_main)]`
- Loading branch information