We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e317fc commit 6eb0fddCopy full SHA for 6eb0fdd
src/cxx_string.rs
@@ -5,7 +5,7 @@ use alloc::borrow::Cow;
5
#[cfg(feature = "alloc")]
6
use alloc::string::String;
7
use core::cmp::Ordering;
8
-use core::fmt::{self, Debug, Display, Write};
+use core::fmt::{self, Debug, Display};
9
use core::hash::{Hash, Hasher};
10
use core::marker::{PhantomData, PhantomPinned};
11
use core::mem::MaybeUninit;
@@ -257,7 +257,7 @@ impl Hash for CxxString {
257
}
258
259
260
-impl Write for Pin<&mut CxxString> {
+impl fmt::Write for Pin<&mut CxxString> {
261
fn write_str(&mut self, s: &str) -> fmt::Result {
262
self.as_mut().push_str(s);
263
Ok(())
0 commit comments