mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
Update src/librustdoc/clean/types.rs
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user