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

Method new

crates/wtf8/src/lib.rs:291–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 /// Creates a new, empty WTF-8 string.
290 #[inline]
291 pub fn new() -> Wtf8Buf {
292 Wtf8Buf::default()
293 }
294
295 /// Creates a new, empty WTF-8 string with pre-allocated capacity for `capacity` bytes.
296 #[inline]

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected