MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / str_mut_try_into

Function str_mut_try_into

crates/data-structures/src/slim_slice.rs:1692–1697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1690
1691 #[test]
1692 fn str_mut_try_into() {
1693 let [mut s1, mut s2] = test_strings();
1694 let s1: &mut SlimStrMut = &mut s1.as_mut().try_into().unwrap();
1695 let s2: &mut SlimStrMut = &mut s2.as_mut().try_into().unwrap();
1696 assert_str_mut_properties(s1, s2);
1697 }
1698
1699 #[test]
1700 fn str_mut_exclusive_ref_various() {

Callers

nothing calls this directly

Calls 5

test_stringsFunction · 0.85
try_intoMethod · 0.80
unwrapMethod · 0.45
as_mutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…