Commit a1881c2
committed
semantic: Remove recursion in n_keys
Done as part of the effort to remove all the recursion crate wide.
Use the `TreeLike` trait to iterate over policy nodes and remove the
recursive call in `semantic::Policy::n_keys`.1 parent 63ab5f6 commit a1881c2
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
610 | 605 | | |
611 | 606 | | |
612 | 607 | | |
| |||
0 commit comments