MCPcopy Index your code
hub / github.com/RustPython/RustPython / write_str

Method write_str

crates/wtf8/src/concat.rs:11–14  ·  view source on GitHub ↗
(&mut self, s: &str)

Source from the content-addressed store, hash-verified

9impl fmt::Write for Wtf8Buf {
10 #[inline]
11 fn write_str(&mut self, s: &str) -> fmt::Result {
12 self.push_str(s);
13 Ok(())
14 }
15}
16
17/// Trait for types that can be appended to a [`Wtf8Buf`], preserving surrogates.

Callers 1

fmtMethod · 0.45

Calls 1

push_strMethod · 0.45

Tested by

no test coverage detected