Update Rust
This commit is contained in:
parent
a455b4c987
commit
7056661a3a
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ pub mod rt {
|
||||||
///
|
///
|
||||||
/// See <https://github.com/rust-lang/rust/issues/16617>
|
/// See <https://github.com/rust-lang/rust/issues/16617>
|
||||||
#[inline]
|
#[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)
|
write!(w, "{}", value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue