From 5994a6f8b4e48c9ab766e425dba210bdac59b00b Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 8 Jul 2015 10:23:37 -0700 Subject: [PATCH] fix(lint): change deny(missing_docs) to only apply for tests Closes #600 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f9573ddae9..0abe385ddd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![doc(html_root_url = "https://hyperium.github.io/hyper/")] -#![deny(missing_docs)] +#![cfg_attr(test, deny(missing_docs))] #![cfg_attr(test, deny(warnings))] #![cfg_attr(all(test, feature = "nightly"), feature(test))]