diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-08-15 21:23:11 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-08-15 22:58:50 +0300 |
| commit | a9ecfd729507d19946f0b66c78cebca1e23e9a15 (patch) | |
| tree | f29b8a76e33b61b40e12edac49b1b1aae10a9296 /src/liballoc | |
| parent | f7af19c279b8b7ea3d2c21fcbd67164af8d5d968 (diff) | |
| download | rust-a9ecfd729507d19946f0b66c78cebca1e23e9a15.tar.gz rust-a9ecfd729507d19946f0b66c78cebca1e23e9a15.zip | |
Hygienize use of built-in macros in the standard library
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/macros.rs b/src/liballoc/macros.rs index 250c419c531..0b5e186d4c7 100644 --- a/src/liballoc/macros.rs +++ b/src/liballoc/macros.rs @@ -98,5 +98,5 @@ macro_rules! vec { #[macro_export] #[stable(feature = "rust1", since = "1.0.0")] macro_rules! format { - ($($arg:tt)*) => ($crate::fmt::format(format_args!($($arg)*))) + ($($arg:tt)*) => ($crate::fmt::format(::core::format_args!($($arg)*))) } |
