From 1db4bd74cf3392c8dafa323ce94a258e4de19c40 Mon Sep 17 00:00:00 2001 From: Erin Date: Tue, 13 Apr 2021 17:43:54 +0200 Subject: [PATCH] clippy + fmt --- src/main.rs | 7 ++----- src/parser.rs | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index ebb24b58..5d8f61a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,9 @@ -extern crate clap; -use clap::{App, Arg}; - mod base_55; mod parser; -pub mod tokens; mod scanner; +mod tokens; -use logos::Logos; +use clap::{App, Arg}; use scanner::Scanner; fn main() { diff --git a/src/parser.rs b/src/parser.rs index 56fa18f3..1c4be808 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,4 +1,4 @@ -use crate::tokens::{Abool, Token}; +use crate::tokens::Abool; pub fn abool2num(abool: Abool) -> i32 { match abool {