forked from AbleScript/ablescript
clippy + fmt
This commit is contained in:
parent
406c6b1297
commit
4ca017671c
|
@ -1,12 +1,9 @@
|
||||||
extern crate clap;
|
|
||||||
use clap::{App, Arg};
|
|
||||||
|
|
||||||
mod base_55;
|
mod base_55;
|
||||||
mod parser;
|
mod parser;
|
||||||
pub mod tokens;
|
|
||||||
mod scanner;
|
mod scanner;
|
||||||
|
mod tokens;
|
||||||
|
|
||||||
use logos::Logos;
|
use clap::{App, Arg};
|
||||||
use scanner::Scanner;
|
use scanner::Scanner;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use crate::tokens::{Abool, Token};
|
use crate::tokens::Abool;
|
||||||
|
|
||||||
pub fn abool2num(abool: Abool) -> i32 {
|
pub fn abool2num(abool: Abool) -> i32 {
|
||||||
match abool {
|
match abool {
|
||||||
|
|
Loading…
Reference in a new issue