This commit is contained in:
Douglas Creager 2025-08-05 14:27:58 -04:00
parent 78e1df037c
commit 4dc2ca50ca
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ impl<'db> ConstraintSetSet<'db> {
// (or the coinductive base case). // (or the coinductive base case).
if self.results.contains_key(&ty) { if self.results.contains_key(&ty) {
return; return;
}; }
// Figure 3, step 1: Insert the coinductive base case for this type into the result // Figure 3, step 1: Insert the coinductive base case for this type into the result
// set. That ensures that if we encounter this type again recursively while we are // set. That ensures that if we encounter this type again recursively while we are

View File

@ -203,7 +203,7 @@ impl<'db> From<Type<'db>> for TypeKind<'db> {
} }
} }
impl<'db> Type<'db> { impl Type<'_> {
pub(crate) fn is_atomic(self) -> bool { pub(crate) fn is_atomic(self) -> bool {
matches!(TypeKind::from(self), TypeKind::Atomic) matches!(TypeKind::from(self), TypeKind::Atomic)
} }