From 2bb8fc99debb6a17d72e7f757f23b07889442baf Mon Sep 17 00:00:00 2001 From: joss-aztec <94053499+joss-aztec@users.noreply.github.com> Date: Wed, 26 Apr 2023 16:03:39 +0100 Subject: [PATCH] chore(noir): comment typo Co-authored-by: jfecher --- crates/noirc_frontend/src/hir/resolution/resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/noirc_frontend/src/hir/resolution/resolver.rs b/crates/noirc_frontend/src/hir/resolution/resolver.rs index daee5ee426f..98cf5993edf 100644 --- a/crates/noirc_frontend/src/hir/resolution/resolver.rs +++ b/crates/noirc_frontend/src/hir/resolution/resolver.rs @@ -681,7 +681,7 @@ impl<'a> Resolver<'a> { } } - /// True if the `distinct` keyword is allowed on function's return type + /// True if the `distinct` keyword is allowed on a function's return type fn distinct_allowed(&self, func: &NoirFunction) -> bool { if self.in_contract() { // "open" and "unconstrained" functions are compiled to brillig and thus duplication of