summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chain/src/item/genins.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/chain/src/item/genins.rs b/chain/src/item/genins.rs
index feb45c6..41972c1 100644
--- a/chain/src/item/genins.rs
+++ b/chain/src/item/genins.rs
@@ -200,9 +200,7 @@ impl DefaultForest<ForestLabel<GrammarLabel>> {
if matches!(nth_child_label.label().label().tnt(), Some(TNT::Non(_)))
&& !nth_child_label.is_packed()
{
- let sploned = self.splone(nth_child, Some(pos), nth_child_last, false)?;
-
- sploned
+ self.splone(nth_child, Some(pos), nth_child_last, false)?
} else {
nth_child
}
@@ -587,7 +585,7 @@ impl DefaultForest<ForestLabel<GrammarLabel>> {
if pos == 4 && matches!(true_source, PaVi::Virtual(_, _, _)) {
dbg!(&stack, reduction_info, true_source, pavi);
- self.print_viz(&format!("pos4ib.gv")).unwrap();
+ self.print_viz("pos4ib.gv").unwrap();
}
for parent in stack {