Update src/librustdoc/clean/types.rs
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
parent
7bb50d4f30
commit
d4f71d8f86
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user