diff options
author | Martin Fischer <martin@push-f.com> | 2023-06-26 15:10:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 09:10:27 -0400 |
commit | 801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch) | |
tree | 145f840c570dd72258ef309e9d31f100a5aa5786 /core/inspector.rs | |
parent | ad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff) |
chore: fix typos (#19572)
Diffstat (limited to 'core/inspector.rs')
-rw-r--r-- | core/inspector.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/inspector.rs b/core/inspector.rs index d7c84608f..bd1080a94 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -72,7 +72,7 @@ enum PollState { /// After creating this structure it's possible to connect multiple sessions /// to the inspector, in case of Deno it's either: a "websocket session" that /// provides integration with Chrome Devtools, or an "in-memory session" that -/// is used for REPL or converage collection. +/// is used for REPL or coverage collection. pub struct JsRuntimeInspector { v8_inspector_client: v8::inspector::V8InspectorClientBase, v8_inspector: Rc<RefCell<v8::UniquePtr<v8::inspector::V8Inspector>>>, @@ -143,7 +143,7 @@ impl v8::inspector::V8InspectorClientImpl for JsRuntimeInspector { impl JsRuntimeInspector { /// Currently Deno supports only a single context in `JsRuntime` - /// and thus it's id is provided as an associated contant. + /// and thus it's id is provided as an associated constant. const CONTEXT_GROUP_ID: i32 = 1; pub fn new( @@ -270,7 +270,7 @@ impl JsRuntimeInspector { mut invoker_cx: Option<&mut Context>, ) -> Result<Poll<()>, BorrowMutError> { // The futures this function uses do not have re-entrant poll() functions. - // However it is can happpen that poll_sessions() gets re-entered, e.g. + // However it is can happen that poll_sessions() gets re-entered, e.g. // when an interrupt request is honored while the inspector future is polled // by the task executor. We let the caller know by returning some error. let mut sessions = self.sessions.try_borrow_mut()?; |