commit 0151a0d356cc211f1fa7e055f9efadb87255d1a0
parent ab2de7c73651607ed1993e1ff8c8dc1dae5e477b
Author: Demonstrandum <samuel@knutsen.co>
Date: Sun, 8 Dec 2024 17:28:58 +0000
Deleted unused code.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/crates/seam/src/parse/expander.rs b/crates/seam/src/parse/expander.rs
@@ -1,7 +1,6 @@
use super::parser::{Node, ParseNode, ParseTree, Parser};
use super::tokens::Site;
-use std::f32::consts::E;
use std::{
fmt,
cell::RefCell,
@@ -332,7 +331,7 @@ impl<'a> Expander<'a> {
let mut rest = vec![];
while rhs_index < nodes1.len() {
let node1 = &nodes1[rhs_index];
- if let ParseNode::Attribute { keyword, node, .. } = node1 {
+ if let ParseNode::Attribute { keyword, .. } = node1 {
// There might be remaining named argument further down the RHS list.
rhs_named.insert(keyword.clone(), node1);
} else {