mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
<clip>
This commit is contained in:
parent
bc2d0a2c7a
commit
4a77ce9eca
2 changed files with 3 additions and 3 deletions
|
@ -383,7 +383,7 @@ impl ObligationCache<'_> {
|
|||
}
|
||||
|
||||
fn check_impl(&mut self, impl_key: ImplKey) {
|
||||
if let Some(_) = self.impl_cache.get(&impl_key) {
|
||||
if self.impl_cache.get(&impl_key).is_some() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -422,7 +422,7 @@ impl ObligationCache<'_> {
|
|||
opaque_real_var: Variable,
|
||||
derive_region: Region,
|
||||
) {
|
||||
if let Some(_) = self.derive_cache.get(&derive_key) {
|
||||
if self.derive_cache.get(&derive_key).is_some() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue