Fix typo in StructuralPartialEq docs

`equialent` => `equivalent`
This commit is contained in:
zacryol 2025-06-01 08:15:00 -06:00 committed by GitHub
parent ba55b7ce3c
commit 33127afef0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
///