consensus_encoding: fix documentation header
What changed, and why it matters
This commit fixes a typo in a documentation comment. It changes the phrase 'to usually to encode' to 'to encode' in a source code file. There is no change to program logic, no security fix, and no functional impact.
No action required. This is a non-security documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit is a one-line documentation-only edit in consensus_encoding/src/compact_size.rs. It removes a duplicated word in the module-level doc comment describing Bitcoin compact-size encoding. No code, API, or behavior is modified.
Changed components
consensus_encoding/src/compact_size.rs documentation commentInspect captured patch +2 / −2
diff --git a/consensus_encoding/src/compact_size.rs b/consensus_encoding/src/compact_size.rs
index 77806065..ab61f338 100644
--- a/consensus_encoding/src/compact_size.rs
+++ b/consensus_encoding/src/compact_size.rs
@@ -3,8 +3,8 @@
//! Compact size codec.
//!
//! Compact size is a variable-length integer encoding used throughout the Bitcoin
-//! consensus protocol to usually to encode collection lengths. However, there are
-//! also some unique non-length use cases.
+//! consensus protocol to encode collection lengths. However, there are also some
+//! unique non-length use cases.
use internals::array_vec::ArrayVec;
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.