Update Rust

This commit is contained in:
Chris Wong 2015-01-24 20:37:04 +13:00
parent a455b4c987
commit 7056661a3a

View file

@ -222,7 +222,7 @@ pub mod rt {
///
/// See <https://github.com/rust-lang/rust/issues/16617>
#[inline]
pub fn write_fmt<T: fmt::String>(w: &mut fmt::Writer, value: T) -> fmt::Result {
pub fn write_fmt<T: fmt::Display>(w: &mut fmt::Writer, value: T) -> fmt::Result {
write!(w, "{}", value)
}