Little bit of cleanup

This commit is contained in:
Ayaz Hafiz 2022-05-03 18:03:18 -04:00
parent 261df36c50
commit c070bfed8b
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 25 additions and 390 deletions

View file

@ -404,6 +404,8 @@ fn deep_copy_type_vars<'a>(
}
}
debug_assert!(result.contains(&(var, cloned_var)));
return result;
#[must_use]