mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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".
|
/// 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.
|
/// `Placeholder` are possible matches for everything.
|
||||||
crate fn is_same(&self, other: &Self, cache: &Cache) -> bool {
|
crate fn is_same(&self, other: &Self, cache: &Cache) -> bool {
|
||||||
match (self, other) {
|
match (self, other) {
|
||||||
|
Loading…
Reference in New Issue
Block a user