What changed, and why it matters
This commit fixes a grammatical typo in a documentation comment, changing 'Cannot not convert' to 'Cannot convert'. It does not change any executable code, behavior, or security properties.
Recommended action
No security action needed. Treat as a routine documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A single-line documentation comment in the TryFromInstructionError enum variant is corrected. The diff is purely textual in a Rust doc comment; no logic, API, or binary output is affected.
Changed components
bitcoin/src/blockdata/script/witness_version.rsInspect captured patch +1 / −1
diff --git a/bitcoin/src/blockdata/script/witness_version.rs b/bitcoin/src/blockdata/script/witness_version.rs
index 56301feb..559509ce 100644
--- a/bitcoin/src/blockdata/script/witness_version.rs
+++ b/bitcoin/src/blockdata/script/witness_version.rs
@@ -199,7 +199,7 @@ impl From<TryFromError> for FromStrError {
#[derive(Clone, Debug, PartialEq, Eq)]
#[non_exhaustive]
pub enum TryFromInstructionError {
- /// Cannot not convert OP to a witness version.
+ /// Cannot convert OP to a witness version.
TryFrom(TryFromError),
/// Cannot create a witness version from non-zero data push.
DataPush,
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.