Skip to content

Commit 578dc69

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 277b587 commit 578dc69

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
@@ -441,7 +441,6 @@ impl<Pk: MiniscriptKey, Ctx: ScriptContext> Miniscript<Pk, Ctx> {
441441
{
442442
let mut translated = vec![];
443443
for data in Arc::new(self.clone()).post_order_iter() {
444-
// convenience method to reduce typing
445444
let child_n = |n| Arc::clone(&translated[data.child_indices[n]]);
446445

447446
let new_term = match data.node.node {

0 commit comments

Comments
 (0)