docs(*): Clippy fixes with markdown docs
This commit is contained in:
@@ -70,7 +70,7 @@ impl HeaderFormat for CacheControl {
|
||||
}
|
||||
}
|
||||
|
||||
/// CacheControl contains a list of these directives.
|
||||
/// `CacheControl` contains a list of these directives.
|
||||
#[derive(PartialEq, Clone, Debug)]
|
||||
pub enum CacheDirective {
|
||||
/// "no-cache"
|
||||
|
||||
@@ -8,7 +8,7 @@ use header::parsing::from_one_raw_str;
|
||||
/// client requests add one automatically.
|
||||
///
|
||||
/// Currently is just a String, but it should probably become a better type,
|
||||
/// like url::Host or something.
|
||||
/// like `url::Host` or something.
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
|
||||
@@ -64,8 +64,8 @@ pub enum Range {
|
||||
Unregistered(String, String)
|
||||
}
|
||||
|
||||
/// Each Range::Bytes header can contain one or more ByteRangeSpecs.
|
||||
/// Each ByteRangeSpec defines a range of bytes to fetch
|
||||
/// Each `Range::Bytes` header can contain one or more `ByteRangeSpecs`.
|
||||
/// Each `ByteRangeSpec` defines a range of bytes to fetch
|
||||
#[derive(PartialEq, Clone, Debug)]
|
||||
pub enum ByteRangeSpec {
|
||||
/// Get all bytes between x and y ("x-y")
|
||||
|
||||
Reference in New Issue
Block a user