Skip to content

Commit c195002

Browse files
committed
docs
1 parent 9a703b1 commit c195002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/inspector/src/inspector.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use std::{vec, vec::Vec};
2424
pub trait Inspector<CTX, INTR: InterpreterTypes = EthInterpreter> {
2525
/// Called before the interpreter is initialized.
2626
///
27-
/// If `interp.instruction_result` is set to anything other than [interpreter::InstructionResult::Continue] then the execution of the interpreter
27+
/// If `interp.instruction_result` is set to anything other than [InstructionResult::Continue] then the execution of the interpreter
2828
/// is skipped.
2929
#[inline]
3030
fn initialize_interp(&mut self, interp: &mut Interpreter<INTR>, context: &mut CTX) {
@@ -48,7 +48,7 @@ pub trait Inspector<CTX, INTR: InterpreterTypes = EthInterpreter> {
4848

4949
/// Called after `step` when the instruction has been executed.
5050
///
51-
/// Setting `interp.instruction_result` to anything other than [interpreter::InstructionResult::Continue] alters the execution
51+
/// Setting `interp.instruction_result` to anything other than [InstructionResult::Continue] alters the execution
5252
/// of the interpreter.
5353
#[inline]
5454
fn step_end(&mut self, interp: &mut Interpreter<INTR>, context: &mut CTX) {
@@ -66,7 +66,7 @@ pub trait Inspector<CTX, INTR: InterpreterTypes = EthInterpreter> {
6666

6767
/// Called whenever a call to a contract is about to start.
6868
///
69-
/// InstructionResulting anything other than [interpreter::InstructionResult::Continue] overrides the result of the call.
69+
/// InstructionResulting anything other than [InstructionResult::Continue] overrides the result of the call.
7070
#[inline]
7171
fn call(&mut self, context: &mut CTX, inputs: &mut CallInputs) -> Option<CallOutcome> {
7272
let _ = context;

0 commit comments

Comments
 (0)