clippy fix and remove some prints
This commit is contained in:
parent
9dc2bac2c3
commit
1843b7e73b
|
@ -113,12 +113,8 @@ impl<'a> CodeGenerator<'a> {
|
||||||
term,
|
term,
|
||||||
};
|
};
|
||||||
|
|
||||||
println!("{}", program.to_pretty());
|
|
||||||
|
|
||||||
program = aiken_optimize_and_intern(program);
|
program = aiken_optimize_and_intern(program);
|
||||||
|
|
||||||
println!("{}", program.to_pretty());
|
|
||||||
|
|
||||||
program
|
program
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -349,7 +349,7 @@ impl PartialEq for NamedDeBruijn {
|
||||||
/// This is useful for decoding a on chain program into debruijn form.
|
/// This is useful for decoding a on chain program into debruijn form.
|
||||||
/// It allows for injecting fake textual names while also using Debruijn for decoding
|
/// It allows for injecting fake textual names while also using Debruijn for decoding
|
||||||
/// without having to loop through twice.
|
/// without having to loop through twice.
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct FakeNamedDeBruijn(pub NamedDeBruijn);
|
pub struct FakeNamedDeBruijn(pub NamedDeBruijn);
|
||||||
|
|
||||||
impl From<DeBruijn> for FakeNamedDeBruijn {
|
impl From<DeBruijn> for FakeNamedDeBruijn {
|
||||||
|
|
Loading…
Reference in New Issue