MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / copy_size_checks

Function copy_size_checks

rust/stringzilla.rs:3939–3944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3937 #[test]
3938 #[should_panic]
3939 fn copy_size_checks() {
3940 let long: Vec<u8> = vec![0; 20];
3941 let mut less_long: Vec<u8> = vec![0; 10];
3942
3943 copy(&mut less_long, &long);
3944 }
3945
3946 #[test]
3947 #[should_panic]

Callers

nothing calls this directly

Calls 1

copyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…