Add basic tests for OwnedSlice
This commit is contained in:
parent
b6970d0e26
commit
e0e39caf84
2 changed files with 71 additions and 0 deletions
|
@ -111,3 +111,6 @@ unsafe impl Send for OwnedSlice {}
|
|||
|
||||
// Safety: `OwnedSlice` is conceptually `(&'self.1 [u8], Box<dyn Send + Sync>)`, which is `Sync`
|
||||
unsafe impl Sync for OwnedSlice {}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue