From 86e055a5626b6999fda25759fbb55ff5d674c03c Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 18 Oct 2024 22:30:20 -0400 Subject: [PATCH] Clean up --- dust-lang/src/formatter.rs | 2 -- dust-lang/src/parser.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dust-lang/src/formatter.rs b/dust-lang/src/formatter.rs index 2617e75..16994de 100644 --- a/dust-lang/src/formatter.rs +++ b/dust-lang/src/formatter.rs @@ -217,6 +217,4 @@ pub enum LineKind { Statement, OpenBlock, CloseBlock, - Call, - Primary, } diff --git a/dust-lang/src/parser.rs b/dust-lang/src/parser.rs index c83a7fd..2990b18 100644 --- a/dust-lang/src/parser.rs +++ b/dust-lang/src/parser.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; use crate::{ AnnotatedError, Chunk, ChunkError, DustError, FunctionType, Identifier, Instruction, LexError, - Lexer, Local, Operation, Span, Token, TokenKind, TokenOwned, Type, Value, + Lexer, Operation, Span, Token, TokenKind, TokenOwned, Type, Value, }; pub fn parse(source: &str) -> Result {