diff --git a/crates/aiken-lang/src/ast/well_known.rs b/crates/aiken-lang/src/ast/well_known.rs index adf415be8..58a4ebe69 100644 --- a/crates/aiken-lang/src/ast/well_known.rs +++ b/crates/aiken-lang/src/ast/well_known.rs @@ -261,7 +261,6 @@ impl Type { } .into(), } - .into(), } .into(), ), diff --git a/crates/aiken-lang/src/format.rs b/crates/aiken-lang/src/format.rs index fdd69c8a9..dea702471 100644 --- a/crates/aiken-lang/src/format.rs +++ b/crates/aiken-lang/src/format.rs @@ -652,7 +652,7 @@ impl<'comments> Formatter<'comments> { on_test_failure: &'a OnTestFailure, ) -> Document<'a> { // Fn name and args - let head = "benchmark " + let head = "bench " .to_doc() .append(name) .append(wrap_args(args.iter().map(|e| (self.fn_arg_via(e), false)))) diff --git a/crates/aiken-lang/src/test_framework.rs b/crates/aiken-lang/src/test_framework.rs index f308f8070..77d1bdf0b 100644 --- a/crates/aiken-lang/src/test_framework.rs +++ b/crates/aiken-lang/src/test_framework.rs @@ -617,7 +617,7 @@ impl Prng { traces: result.logs(), uplc_error, }) - .map(|term| Prng::from_result(term)) + .map(Prng::from_result) } /// Obtain a Prng back from a fuzzer execution. As a reminder, fuzzers have the following