Add must_use to futures, deny missing docs (#171)

This commit is contained in:
Sean McArthur
2017-10-27 14:08:16 -07:00
committed by Carl Lerche
parent 24a796da72
commit b1d282799b
5 changed files with 62 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
#![deny(warnings, missing_debug_implementations)]
#![deny(warnings, missing_debug_implementations, missing_docs)]
//! HTTP2
#[macro_use]
extern crate futures;
@@ -24,6 +26,7 @@ extern crate string;
extern crate ordermap;
mod error;
#[cfg_attr(feature = "unstable", allow(missing_docs))]
mod codec;
mod hpack;
mod proto;
@@ -32,6 +35,7 @@ mod proto;
mod frame;
#[cfg(feature = "unstable")]
#[allow(missing_docs)]
pub mod frame;
pub mod client;