We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5384ba4 commit df0a459Copy full SHA for df0a459
library/alloc/src/lib.rs
@@ -106,6 +106,7 @@
106
#![feature(int_bits_const)]
107
#![feature(lang_items)]
108
#![feature(layout_for_ptr)]
109
+#![cfg_attr(not(bootstrap), feature(may_ignore))]
110
#![feature(maybe_uninit_ref)]
111
#![feature(negative_impls)]
112
#![feature(never_type)]
library/alloc/src/string.rs
@@ -1587,6 +1587,14 @@ impl String {
1587
let slice = self.vec.into_boxed_slice();
1588
unsafe { from_boxed_utf8_unchecked(slice) }
1589
}
1590
+
1591
+ #[doc(hidden)]
1592
+ #[inline]
1593
+ #[cfg_attr(not(bootstrap), may_ignore)]
1594
+ #[stable(feature = "string_write_fmt", since = "1.49.0")]
1595
+ pub fn write_fmt(mut self: &mut Self, args: fmt::Arguments<'_>) -> fmt::Result {
1596
+ fmt::write(&mut self, args)
1597
+ }
1598
1599
1600
impl FromUtf8Error {
0 commit comments