Fix typo in StructuralPartialEq docs
`equialent` => `equivalent`
This commit is contained in:
parent
ba55b7ce3c
commit
33127afef0
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ pub trait Unsize<T: ?Sized> {
|
|||
///
|
||||
/// Constants are only allowed as patterns if (a) their type implements
|
||||
/// `PartialEq`, and (b) interpreting the value of the constant as a pattern
|
||||
/// is equialent to calling `PartialEq`. This ensures that constants used as
|
||||
/// is equivalent to calling `PartialEq`. This ensures that constants used as
|
||||
/// patterns cannot expose implementation details in an unexpected way or
|
||||
/// cause semver hazards.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue