Skip to content

Commit 0303cce

Browse files
committed
Remove code comment from soon-to-be duplicated pattern
We are about to start using the `TreeLike` trait everywhere, hence it will become an easily recognizable pattern. The current single case has a code comment that is noisy if duplicated many times.
1 parent 483cda7 commit 0303cce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/miniscript/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ impl<Pk: MiniscriptKey, Ctx: ScriptContext> Miniscript<Pk, Ctx> {
429429
{
430430
let mut translated = vec![];
431431
for data in Arc::new(self.clone()).post_order_iter() {
432-
// convenience method to reduce typing
433432
let child_n = |n| Arc::clone(&translated[data.child_indices[n]]);
434433

435434
let new_term = match data.node.node {

0 commit comments

Comments
 (0)