Skip to content

Commit 67c0a1a

Browse files
committed
Remove code comment
Remove unnecessary code comment, the local variables names are clear enough.
1 parent a280447 commit 67c0a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/semantic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ impl<Pk: MiniscriptKey> Policy<Pk> {
407407

408408
let n = subs.len() - unsatisfied_count - trivial_count; // remove all true/false
409409
let m = k.checked_sub(trivial_count).map_or(0, |x| x); // satisfy all trivial
410-
// m == n denotes `and` and m == 1 denotes `or`
410+
411411
let is_and = m == n;
412412
let is_or = m == 1;
413413
for sub in subs {

0 commit comments

Comments
 (0)