Skip to content

Commit

Permalink
Update src/librustdoc/clean/types.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
  • Loading branch information
notriddle and GuillaumeGomez authored Nov 30, 2021
1 parent 7bb50d4 commit d4f71d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/clean/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d4f71d8

Please sign in to comment.