fix(lint): change deny(missing_docs) to only apply for tests

Closes #600
This commit is contained in:
Sean McArthur
2015-07-08 10:23:37 -07:00
parent 18a29aca3d
commit 5994a6f8b4

View File

@@ -1,5 +1,5 @@
#![doc(html_root_url = "https://hyperium.github.io/hyper/")] #![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(test, deny(warnings))]
#![cfg_attr(all(test, feature = "nightly"), feature(test))] #![cfg_attr(all(test, feature = "nightly"), feature(test))]