Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ shrink_to_fit
Method
shrink_to_fit
crates/wtf8/src/lib.rs:445–447 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
443
444
#[inline]
445
pub fn shrink_to_fit(&mut self) {
446
self.bytes.shrink_to_fit()
447
}
448
449
#[inline]
450
pub fn shrink_to(&mut self, min_capacity: usize) {
Callers
10
read
Method · 0.80
_decompress_chunks
Function · 0.80
compress
Method · 0.80
flush
Method · 0.80
extract
Method · 0.80
read1
Method · 0.80
dedup_and_flatten_args
Function · 0.80
extract_cloned
Function · 0.80
map_py_iter
Method · 0.80
emit_and_reset_fail_pop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected