diff options
Diffstat (limited to 'tvix/tools/turbofetch/src/buffer.rs')
-rw-r--r-- | tvix/tools/turbofetch/src/buffer.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tvix/tools/turbofetch/src/buffer.rs b/tvix/tools/turbofetch/src/buffer.rs index 13207f562184..d6ff93e3cfe7 100644 --- a/tvix/tools/turbofetch/src/buffer.rs +++ b/tvix/tools/turbofetch/src/buffer.rs @@ -12,10 +12,6 @@ pub struct Buffer { tail: usize, } -// SAFETY: MagicBuffer isn't bound to a thread, and neither are any of the other fields. -// MagicBuffer ought to be Send+Sync itself, upstream PR at https://github.com/sklose/magic-buffer/pull/4 -unsafe impl Send for Buffer {} - impl Buffer { /// Allocate a fresh buffer, with the specified capacity. /// The buffer can contain at most `capacity - 1` bytes. |