diff options
Diffstat (limited to 'core/ops.rs')
-rw-r--r-- | core/ops.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ops.rs b/core/ops.rs index 227019c02..7ed142682 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -1,5 +1,4 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -pub use crate::libdeno::OpId; use crate::PinnedBuf; use futures::Future; use std::collections::HashMap; @@ -7,6 +6,8 @@ use std::pin::Pin; use std::sync::Arc; use std::sync::RwLock; +pub type OpId = u32; + pub type Buf = Box<[u8]>; pub type OpAsyncFuture<E> = |