Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SharpCoder/teensycore
/ test_drop
Function
test_drop
src/system/str.rs:627–632 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
625
626
#[test]
627
fn test_drop() {
628
let mut sb = Str::new();
629
sb.append(b
"hello, world"
);
630
sb.drop();
631
assert_eq!(sb.index, 0);
632
}
633
634
#[test]
635
fn test_iterator() {
Callers
nothing calls this directly
Calls
2
append
Method · 0.80
drop
Method · 0.80
Tested by
no test coverage detected