Skip to content

Commit 6eb0fdd

Browse files
committed
Touch up PR 1202
1 parent 9e317fc commit 6eb0fdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cxx_string.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use alloc::borrow::Cow;
55
#[cfg(feature = "alloc")]
66
use alloc::string::String;
77
use core::cmp::Ordering;
8-
use core::fmt::{self, Debug, Display, Write};
8+
use core::fmt::{self, Debug, Display};
99
use core::hash::{Hash, Hasher};
1010
use core::marker::{PhantomData, PhantomPinned};
1111
use core::mem::MaybeUninit;
@@ -257,7 +257,7 @@ impl Hash for CxxString {
257257
}
258258
}
259259

260-
impl Write for Pin<&mut CxxString> {
260+
impl fmt::Write for Pin<&mut CxxString> {
261261
fn write_str(&mut self, s: &str) -> fmt::Result {
262262
self.as_mut().push_str(s);
263263
Ok(())

0 commit comments

Comments
 (0)