What changed, and why it matters
This commit fixes two spelling mistakes in code comments within an example file. The word 'where' is corrected to 'were'. There is no change to program logic, no security fix, and no functional impact.
No security action required. Treat as a routine documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies only documentation comments in bitcoin/examples/io.rs, changing ‘counts how many bytes where written to it’ to ‘counts how many bytes were written to it’ in two places. No executable code, APIs, or cryptographic operations are affected.
Changed components
bitcoin/examples/io.rsInspect captured patch +2 / −2
diff --git a/bitcoin/examples/io.rs b/bitcoin/examples/io.rs
index 812c6b16..82ca0cb0 100644
--- a/bitcoin/examples/io.rs
+++ b/bitcoin/examples/io.rs
@@ -46,7 +46,7 @@ fn encode_decode_from_stdlib_type() {
///
/// To use the `Encodable` (and `Decodable`) traits you can implement the `bitcoin_io` traits.
fn encode_to_custom_type() {
- /// A byte counter - counts how many bytes where written to it.
+ /// A byte counter - counts how many bytes were written to it.
struct WriteCounter {
count: usize,
}
@@ -96,7 +96,7 @@ fn encode_using_wrapper() {
}
mod pretend_this_is_some_other_crate {
- /// A byte counter - counts how many bytes where written to it.
+ /// A byte counter - counts how many bytes were written to it.
pub struct WriteCounter {
count: usize,
}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.