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:03 -07:00 committed by GitHub
parent 85ba6c7b34
commit 7bb50d4f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1477,7 +1477,7 @@ impl Type {
result
}
/// Check if two types are "potentially the same."
/// Check if two types are "potentially the same".
/// 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 {