cargo fmt
This commit is contained in:
parent
7a9a54c685
commit
266d3122c4
|
@ -86,8 +86,9 @@ fn lower_expression(
|
|||
|
||||
if args_resolved.len() != callable.args.len() {
|
||||
return Err(CompileError::new(CompileErrorKind::BadArgCount {
|
||||
expected: callable.args.len(), received: args_resolved.len()
|
||||
}))
|
||||
expected: callable.args.len(),
|
||||
received: args_resolved.len(),
|
||||
}));
|
||||
}
|
||||
|
||||
let cell_id = module.make_genid(&callable.name);
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
use nom::{
|
||||
character::complete::{char, one_of},
|
||||
combinator::{map_res, recognize},
|
||||
|
|
|
@ -4,7 +4,6 @@ mod literals;
|
|||
mod parser;
|
||||
mod rtlil;
|
||||
|
||||
|
||||
use std::fs::File;
|
||||
use std::io::prelude::*;
|
||||
use std::path::PathBuf;
|
||||
|
|
|
@ -8,7 +8,7 @@ use nom::{
|
|||
sequence::{delimited, pair, preceded, separated_pair, terminated, tuple},
|
||||
};
|
||||
|
||||
use nom_locate::{LocatedSpan};
|
||||
use nom_locate::LocatedSpan;
|
||||
|
||||
// custom span type for nom_locate
|
||||
pub type Span<'a> = LocatedSpan<&'a str>;
|
||||
|
|
Loading…
Reference in New Issue