MCPcopy Create free account
hub / github.com/PLSysSec/wave / clone_vec_u8

Function clone_vec_u8

src/tcb/misc.rs:168–170  ·  view source on GitHub ↗
(vec: &Vec<u8>)

Source from the content-addressed store, hash-verified

166#[trusted]
167#[ensures(result.len() == old(vec.len()))]
168pub fn clone_vec_u8(vec: &Vec<u8>) -> Vec<u8> {
169 vec.clone()
170}
171
172// TODO: should probably fail more elegantly than this
173#[trusted]

Callers 3

check_clone_vec_u8Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected