about summary refs log tree commit diff
path: root/users/grfn/achilles/src
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/achilles/src')
-rw-r--r--users/grfn/achilles/src/commands/eval.rs6
-rw-r--r--users/grfn/achilles/src/parser/expr.rs3
2 files changed, 2 insertions, 7 deletions
diff --git a/users/grfn/achilles/src/commands/eval.rs b/users/grfn/achilles/src/commands/eval.rs
index 61a712c08a8e..efd7399ed1c4 100644
--- a/users/grfn/achilles/src/commands/eval.rs
+++ b/users/grfn/achilles/src/commands/eval.rs
@@ -1,10 +1,6 @@
 use clap::Clap;
 
-use crate::codegen;
-use crate::interpreter;
-use crate::parser;
-use crate::tc;
-use crate::Result;
+use crate::{codegen, interpreter, parser, tc, Result};
 
 /// Evaluate an expression and print its result
 #[derive(Clap)]
diff --git a/users/grfn/achilles/src/parser/expr.rs b/users/grfn/achilles/src/parser/expr.rs
index f596b18970aa..b18ce4a0dc88 100644
--- a/users/grfn/achilles/src/parser/expr.rs
+++ b/users/grfn/achilles/src/parser/expr.rs
@@ -1,9 +1,8 @@
 use std::borrow::Cow;
 
-use nom::alt;
 use nom::character::complete::{digit1, multispace0, multispace1};
 use nom::{
-    call, char, complete, delimited, do_parse, flat_map, many0, map, named, opt, parse_to,
+    alt, call, char, complete, delimited, do_parse, flat_map, many0, map, named, opt, parse_to,
     preceded, separated_list0, separated_list1, tag, tuple,
 };
 use pratt::{Affix, Associativity, PrattParser, Precedence};