docs(lib): fix rustdoc warnings

This commit is contained in:
Guillaume Gomez
2017-11-10 19:22:33 +01:00
committed by Sean McArthur
parent fe38aa4bc1
commit e330d30964
55 changed files with 237 additions and 72 deletions

View File

@@ -9,7 +9,8 @@ header! {
/// with the resource.
///
/// # ABNF
/// ```plain
///
/// ```text
/// Allow = #method
/// ```
///
@@ -19,6 +20,7 @@ header! {
/// * ``
///
/// # Examples
///
/// ```
/// use hyper::header::{Headers, Allow};
/// use hyper::Method;
@@ -28,6 +30,7 @@ header! {
/// Allow(vec![Method::Get])
/// );
/// ```
///
/// ```
/// use hyper::header::{Headers, Allow};
/// use hyper::Method;