What changed, and why it matters
This commit fixes a simple typo in a documentation comment ('the the' → 'the'). It changes no executable code, no APIs, and no behavior. There is no security relevance.
Recommended action
No action required; this is a non-functional documentation typo fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
Single-character documentation-only change in consensus_encoding/src/encode/mod.rs: removes a duplicated word in the rustdoc comment for Encoder::advance. No code, types, logic, or safety invariants are modified.
Changed components
consensus_encoding/src/encode/mod.rs documentation commentInspect captured patch +1 / −1
diff --git a/consensus_encoding/src/encode/mod.rs b/consensus_encoding/src/encode/mod.rs
index 12121107..3530928f 100644
--- a/consensus_encoding/src/encode/mod.rs
+++ b/consensus_encoding/src/encode/mod.rs
@@ -35,7 +35,7 @@ pub trait Encoder<'e> {
/// Does not need to be called when the encoder is first created. (In fact, if it
/// is called, this will discard the first chunk of encoded data.)
///
- /// Returns `true` if the the next call to [`Self::current_chunk`] will return data.
+ /// Returns `true` if the next call to [`Self::current_chunk`] will return data.
/// Returns `false` otherwise. It is fine to ignore the return value of this method
/// and just call `current_chunk` to see if it works.
fn advance(&mut self) -> bool;
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.