What changed, and why it matters
This commit fixes a single spelling mistake in a code comment, changing 'These form are' to 'These forms are'. It does not change any executable code, data structures, or behavior of the library.
Recommended action
No security action needed. Treat as a routine non-functional cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A one-character typo correction in a doc comment within units/src/amount/mod.rs. The diff is purely textual/grammatical and has no functional effect on parsing, validation, arithmetic, or any API surface.
Changed components
units/src/amount/mod.rs (documentation comment only)Inspect captured patch +1 / −1
diff --git a/units/src/amount/mod.rs b/units/src/amount/mod.rs
index d799b5ec..bc2e79c4 100644
--- a/units/src/amount/mod.rs
+++ b/units/src/amount/mod.rs
@@ -146,7 +146,7 @@ impl Denomination {
}
}
-/// These form are ambiguous and could have many meanings. For example, M could denote Mega or Milli.
+/// These forms are ambiguous and could have many meanings. For example, M could denote Mega or Milli.
/// If any of these forms are used, an error type `PossiblyConfusingDenomination` is returned.
const CONFUSING_FORMS: [&str; 6] = ["CBTC", "Cbtc", "MBTC", "Mbtc", "UBTC", "Ubtc"];
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.