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
+1 -1
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.
///