diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-02 15:47:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 09:47:57 -0400 |
commit | 058579da562989ed15c86598053644bbc86c6747 (patch) | |
tree | 7f0f2bf30684dcbb350b93d987771f17a4abd250 /core/zero_copy_buf.rs | |
parent | adf57610904cb4f4ef25fb077f6e39c9017a4ea9 (diff) |
refactor(ops): remove variadic buffers (#9944)
Diffstat (limited to 'core/zero_copy_buf.rs')
-rw-r--r-- | core/zero_copy_buf.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/zero_copy_buf.rs b/core/zero_copy_buf.rs index 96baee1ec..75a3caf22 100644 --- a/core/zero_copy_buf.rs +++ b/core/zero_copy_buf.rs @@ -2,12 +2,9 @@ use crate::bindings; use rusty_v8 as v8; -use smallvec::SmallVec; use std::ops::Deref; use std::ops::DerefMut; -pub type BufVec = SmallVec<[ZeroCopyBuf; 2]>; - /// A ZeroCopyBuf encapsulates a slice that's been borrowed from a JavaScript /// ArrayBuffer object. JavaScript objects can normally be garbage collected, /// but the existence of a ZeroCopyBuf inhibits this until it is dropped. It |