Skip to content

Commit 1d5b19d

Browse files
authored
Fix grammatical errors in documentation (#254)
- src/tracing/fourbyte.rs: Old: "byte" -> New: "bytes" Reason: Corrected to plural form since it refers to multiple (four) bytes - src/tracing/builder/parity.rs: Old: "Manually the gas used" -> New: "Manually set the gas used" Reason: Added missing verb "set" for grammatical completeness Documentation-only changes to improve clarity and correctness. No functional changes.
1 parent 4403454 commit 1d5b19d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tracing/builder/parity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl ParityTraceBuilder {
3838
self.nodes.iter().map(|node| node.trace.caller).collect()
3939
}
4040

41-
/// Manually the gas used of the root trace.
41+
/// Manually set the gas used of the root trace.
4242
///
4343
/// The root trace's gasUsed should mirror the actual gas used by the transaction.
4444
///

src/tracing/fourbyte.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Fourbyte tracing inspector
22
//!
3-
//! Solidity contract functions are addressed using the first four byte of the Keccak-256 hash of
3+
//! Solidity contract functions are addressed using the first four bytes of the Keccak-256 hash of
44
//! their signature. Therefore when calling the function of a contract, the caller must send this
55
//! function selector as well as the ABI-encoded arguments as call data.
66
//!

0 commit comments

Comments
 (0)