mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
cleanup
This commit is contained in:
parent
2e0a31f4af
commit
ed4a107c44
13 changed files with 1448 additions and 1860 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#![allow(clippy::needless_late_init)] // because of a bad derive macro
|
||||
|
||||
mod parser;
|
||||
mod random;
|
||||
mod write;
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ fn function<F>(name: &str, ret_ty: &str, body: F)
|
|||
where
|
||||
F: FnOnce(),
|
||||
{
|
||||
println!("fn {name}(input: &[u8]) -> IResult<{ret_ty}> {{");
|
||||
println!("fn {name}(input: &[u8]) -> IResult<'_, {ret_ty}> {{");
|
||||
body();
|
||||
println!("}}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue