From 97c8276134bcc514e71236b8250fe308eed5405f Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 20 Nov 2014 16:25:33 -0800 Subject: [PATCH] adjust doc comment about Unsigned --- src/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.rs b/src/status.rs index afedfdd8..23126983 100644 --- a/src/status.rs +++ b/src/status.rs @@ -1579,7 +1579,7 @@ impl StatusCode { /// "123 "); /// ``` /// -/// If you wish to just include the number, use `Unsigned` instead (`{:u}`). +/// If you wish to just include the number, cast to a u16 instead. impl fmt::Show for StatusCode { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{} {}", *self as u16,