Update src/librustdoc/clean/types.rs

Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
Michael Howell 2021-11-30 14:22:15 -07:00 committed by GitHub
parent 7bb50d4f30
commit d4f71d8f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1478,7 +1478,7 @@ impl Type {
}
/// Check if two types are "potentially the same".
/// This is different from Eq, because it knows that things like
/// This is different from `Eq`, because it knows that things like
/// `Placeholder` are possible matches for everything.
crate fn is_same(&self, other: &Self, cache: &Cache) -> bool {
match (self, other) {