clippy fix and remove some prints

This commit is contained in:
Kasey White 2023-02-01 22:31:13 -05:00 committed by Lucas
parent 9dc2bac2c3
commit 1843b7e73b
2 changed files with 1 additions and 5 deletions

View File

@ -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
} }

View File

@ -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 {