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

Method push_str

crates/wtf8/src/lib.rs:467–469  ·  view source on GitHub ↗
(&mut self, other: &str)

Source from the content-addressed store, hash-verified

465 /// Append a UTF-8 slice at the end of the string.
466 #[inline]
467 pub fn push_str(&mut self, other: &str) {
468 self.bytes.extend_from_slice(other.as_bytes())
469 }
470
471 /// Append a WTF-8 slice at the end of the string.
472 #[inline]

Callers 15

run_shellFunction · 0.45
semaphore_nameFunction · 0.45
repr_wtf8Method · 0.45
do_matchFunction · 0.45
get_future_repr_infoFunction · 0.45
get_task_repr_infoFunction · 0.45
nextMethod · 0.45
createFunction · 0.45
expandtabsFunction · 0.45
decode_utf8_compatibleFunction · 0.45
to_lowercaseMethod · 0.45

Calls 1

as_bytesMethod · 0.45

Tested by

no test coverage detected