From 739421c86f5fabfef5c765beea7741a7409976d7 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Wed, 6 Sep 2023 12:00:52 -0500 Subject: fmt --- sloth/src/analysis/setup.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sloth/src/analysis/setup.rs b/sloth/src/analysis/setup.rs index 522d757..faf10f1 100644 --- a/sloth/src/analysis/setup.rs +++ b/sloth/src/analysis/setup.rs @@ -71,8 +71,12 @@ impl Populator { let mut body_table = body.symtable.clone(); for input in inputs { - let symbol = - self.build_value_symbol(node.line(), &body_table, &input.typ, true)?; + let symbol = self.build_value_symbol( + node.line(), + &body_table, + &input.typ, + true, + )?; body_table.insert(input.identifier.to_owned(), symbol); } } @@ -148,7 +152,6 @@ impl Populator { typ: Type::Function { inputs, output: output.into(), - }, id: self.reserve_id(), mutable: true, -- cgit v1.2.3