diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-02 10:34:36 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-02 10:34:36 +0100 |
| commit | f09f62f62c401a42bf338a23f8721c7f5a28a800 (patch) | |
| tree | bf6faa1d899e58ff4435736ac371520dbd79786e /src/liballoc/string.rs | |
| parent | 7693e3e6662c2ae8aa24d69434161f501d855420 (diff) | |
| download | rust-f09f62f62c401a42bf338a23f8721c7f5a28a800.tar.gz rust-f09f62f62c401a42bf338a23f8721c7f5a28a800.zip | |
liballoc: adjust abolute imports + more import fixes.
Diffstat (limited to 'src/liballoc/string.rs')
| -rw-r--r-- | src/liballoc/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs index e9da10b3597..95f6b28a168 100644 --- a/src/liballoc/string.rs +++ b/src/liballoc/string.rs @@ -2165,7 +2165,7 @@ pub trait ToString { impl<T: fmt::Display + ?Sized> ToString for T { #[inline] default fn to_string(&self) -> String { - use core::fmt::Write; + use fmt::Write; let mut buf = String::new(); buf.write_fmt(format_args!("{}", self)) .expect("a Display implementation returned an error unexpectedly"); |
