Disable needless_doctest_main lint

This commit is contained in:
David Tolnay 2019-10-27 21:20:38 -07:00
parent b2f0f456f5
commit 5e04e776ef
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -172,7 +172,11 @@
#![doc(html_root_url = "https://docs.rs/anyhow/1.0.17")]
#![cfg_attr(backtrace, feature(backtrace))]
#![allow(clippy::new_ret_no_self, clippy::wrong_self_convention)]
#![allow(
clippy::needless_doctest_main,
clippy::new_ret_no_self,
clippy::wrong_self_convention
)]
#[macro_use]
mod backtrace;