Skip to content

Commit f59a696

Browse files
authored
Clarify comments in ChiselRunner: fix incomplete and misleading docstrings (#10931)
* Clarify comments in ChiselRunner: fix incomplete and misleading docstrings * Update runner.rs
1 parent aa3cc0f commit f59a696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chisel/src/runner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl ChiselRunner {
7979
///
8080
/// ### Returns
8181
///
82-
/// Optionally, a tuple containing the deployed address of the bytecode as well as a
82+
/// A tuple containing the deployed address of the bytecode as well as a
8383
/// [ChiselResult] containing information about the result of the call to the deployed REPL
8484
/// contract.
8585
pub fn run(&mut self, bytecode: Bytes) -> Result<(Address, ChiselResult)> {
@@ -173,7 +173,7 @@ impl ChiselRunner {
173173
}
174174
}
175175
}
176-
// reset gas limit in the
176+
// reset gas limit in the executor environment to its original value
177177
self.executor.env_mut().tx.gas_limit = init_gas_limit;
178178
}
179179

0 commit comments

Comments
 (0)