rustup: fmt changes

This commit is contained in:
Sean McArthur
2014-11-20 10:28:09 -08:00
parent ee9d807f76
commit 626fe9d91e
3 changed files with 6 additions and 12 deletions

View File

@@ -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