diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-06 20:07:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 20:07:35 +0100 |
commit | 8bf383710fc32efdbf2996abf5130bbd9aecacd1 (patch) | |
tree | 240927ae043a9d3596b039e5762d8d078e738d04 /core/shared_queue.rs | |
parent | 29df272133425ed5d9c54a584c60193fb3ad6086 (diff) |
refactor: remove core/libdeno.rs (#3611)
Diffstat (limited to 'core/shared_queue.rs')
-rw-r--r-- | core/shared_queue.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/shared_queue.rs b/core/shared_queue.rs index 2bb0f69a5..566d7cb7f 100644 --- a/core/shared_queue.rs +++ b/core/shared_queue.rs @@ -16,8 +16,8 @@ SharedQueue Binary Layout +---------------------------------------------------------------+ */ -use crate::libdeno::deno_buf; -use crate::libdeno::OpId; +use crate::isolate::DenoBuf; +use crate::ops::OpId; const MAX_RECORDS: usize = 100; /// Total number of records added. @@ -47,10 +47,10 @@ impl SharedQueue { q } - pub fn as_deno_buf(&self) -> deno_buf { + pub fn as_deno_buf(&self) -> DenoBuf { let ptr = self.bytes.as_ptr(); let len = self.bytes.len(); - unsafe { deno_buf::from_raw_parts(ptr, len) } + unsafe { DenoBuf::from_raw_parts(ptr, len) } } fn reset(&mut self) { |