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 {