diff --git a/cli/ops.rs b/cli/ops.rs index 610304aea6211..322e41242b27e 100644 --- a/cli/ops.rs +++ b/cli/ops.rs @@ -121,7 +121,7 @@ pub fn dispatch_all_legacy( op.or_else(move |err: DenoError| -> Result { debug!("op err {}", err); // No matter whether we got an Err or Ok, we want a serialized message to - // send back. So transform the DenoError into a deno_buf. + // send back. So transform the DenoError into a Buf. let builder = &mut FlatBufferBuilder::new(); let errmsg_offset = builder.create_string(&format!("{}", err)); Ok(serialize_response( diff --git a/core/lib.rs b/core/lib.rs index 9533bce32e1f7..10f12815e96d8 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -14,7 +14,6 @@ mod shared_queue; pub use crate::flags::v8_set_flags; pub use crate::isolate::*; pub use crate::js_errors::*; -pub use crate::libdeno::deno_buf; pub use crate::libdeno::deno_mod; pub use crate::libdeno::PinnedBuf; pub use crate::modules::*; diff --git a/core/modules.rs b/core/modules.rs index 0e7cc68aad830..0fb3147cb20f6 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -305,7 +305,7 @@ impl ModuleInfo { } /// A symbolic module entity. -pub enum SymbolicModule { +enum SymbolicModule { /// This module is an alias to another module. /// This is useful such that multiple names could point to /// the same underlying module (particularly due to redirects). @@ -316,7 +316,7 @@ pub enum SymbolicModule { #[derive(Default)] /// Alias-able module name map -pub struct ModuleNameMap { +struct ModuleNameMap { inner: HashMap, }