We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
alloc::format!
1 parent ef54f57 commit d42e603Copy full SHA for d42e603
src/liballoc/lib.rs
@@ -171,3 +171,9 @@ pub mod vec;
171
mod std {
172
pub use core::ops; // RangeFull
173
}
174
+
175
+#[doc(hidden)]
176
+#[unstable(feature = "liballoc_internals", issue = "0", reason = "implementation detail")]
177
+pub mod __export {
178
+ pub use core::format_args;
179
+}
src/liballoc/macros.rs
@@ -98,5 +98,5 @@ macro_rules! vec {
98
#[macro_export]
99
#[stable(feature = "rust1", since = "1.0.0")]
100
macro_rules! format {
101
- ($($arg:tt)*) => ($crate::fmt::format(::core::format_args!($($arg)*)))
+ ($($arg:tt)*) => ($crate::fmt::format($crate::__export::format_args!($($arg)*)))
102
0 commit comments