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

@@ -11,14 +11,17 @@ header! {
/// (case-insensitive).
///
/// # ABNF
/// ```plain
///
/// ```text
/// Vary = "*" / 1#field-name
/// ```
///
/// # Example values
///
/// * `accept-encoding, accept-language`
///
/// # Example
///
/// ```
/// use hyper::header::{Headers, Vary};
///
@@ -27,6 +30,7 @@ header! {
/// ```
///
/// # Example
///
/// ```
/// # extern crate hyper;
/// # extern crate unicase;