Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
extract_annotations_from_annotate_code
Function · 0.45
attrs_to_module_items
Function · 0.45
Calls
no outgoing calls
Tested by
1
extract_annotations_from_annotate_code
Function · 0.36