Skip to content

Commit

Permalink
chore(noir): comment typo
Browse files Browse the repository at this point in the history
Co-authored-by: jfecher <[email protected]>
  • Loading branch information
joss-aztec and jfecher authored Apr 26, 2023
1 parent ecfe4cd commit 2bb8fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/noirc_frontend/src/hir/resolution/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bb8fc9

Please sign in to comment.