MCPcopy Create free account
hub / github.com/RustPython/RustPython / clear

Method clear

crates/wtf8/src/lib.rs:351–353  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

349 }
350
351 pub fn clear(&mut self) {
352 self.bytes.clear();
353 }
354
355 /// Creates a WTF-8 string from a potentially ill-formed UTF-16 slice of 16-bit code units.
356 ///

Callers 2

attrs_to_module_itemsFunction · 0.45

Calls

no outgoing calls

Tested by 1