Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jan 17, 2024
1 parent 0e34e70 commit 0bc323c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_frontend/src/node_interner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1197,9 +1197,9 @@ impl NodeInterner {

let instantiated_object_type = object_type.substitute(&substitutions);

// Ignoring overlapping TraitImplKind::Assumed impls here is perfectly fine.
// Ignoring overlapping `TraitImplKind::Assumed` impls here is perfectly fine.
// It should never happen since impls are defined at global scope, but even
// if they were, we should never prevent defining a new impl because a where
// if they were, we should never prevent defining a new impl because a 'where'
// clause already assumes it exists.
if let Ok((TraitImplKind::Normal(existing), _)) = self.try_lookup_trait_implementation(
&instantiated_object_type,
Expand Down

0 comments on commit 0bc323c

Please sign in to comment.