rustup: fmt changes
This commit is contained in:
@@ -1569,12 +1569,6 @@ impl StatusCode {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Unsigned for StatusCode {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
fmt::Unsigned::fmt(&(*self as u16), f)
|
||||
}
|
||||
}
|
||||
|
||||
/// Formats the status code, *including* the canonical reason.
|
||||
///
|
||||
/// ```rust
|
||||
|
||||
Reference in New Issue
Block a user