What changed, and why it matters
This commit fixes a single-word typo in a comment inside a test file. It changes 'than' to 'that' in a comment describing a sanity check. There is no code, logic, or security change.
Recommended action
No action needed. This is a non-security typo fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies only a comment in units/src/amount/tests.rs. No executable code, test logic, constants, APIs, or cryptographic operations were changed. It is purely a documentation/typo correction within the test suite.
Changed components
Not specified
Inspect captured patch +1 / −1
diff --git a/units/src/amount/tests.rs b/units/src/amount/tests.rs
index 817cd17c..a62c1e73 100644
--- a/units/src/amount/tests.rs
+++ b/units/src/amount/tests.rs
@@ -1150,7 +1150,7 @@ fn check_const() {
assert_eq!(Amount::MAX.to_sat() as i64, SignedAmount::MAX.to_sat());
}
-// Sanity check than stdlib supports the set of reference combinations for the ops we want.
+// Sanity check that stdlib supports the set of reference combinations for the ops we want.
#[test]
#[allow(clippy::op_ref)] // We are explicitly testing the references work with ops.
fn sanity_all_ops() {
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.