Add doc-comment to test README examples (#515)

This commit is contained in:
Guillaume Gomez
2019-04-30 23:11:10 +02:00
committed by Sean McArthur
parent 15595acb04
commit 66a88d946b
3 changed files with 8 additions and 1 deletions

View File

@@ -218,6 +218,12 @@ extern crate tokio_rustls;
extern crate webpki_roots;
#[cfg(feature = "rustls-tls")]
extern crate rustls;
#[cfg(test)]
#[macro_use]
extern crate doc_comment;
#[cfg(test)]
doctest!("../README.md");
pub use hyper::header;
pub use hyper::Method;