Skip to content

Commit 33127af

Browse files
authored
Fix typo in StructuralPartialEq docs
`equialent` => `equivalent`
1 parent ba55b7c commit 33127af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ pub trait Unsize<T: ?Sized> {
200200
///
201201
/// Constants are only allowed as patterns if (a) their type implements
202202
/// `PartialEq`, and (b) interpreting the value of the constant as a pattern
203-
/// is equialent to calling `PartialEq`. This ensures that constants used as
203+
/// is equivalent to calling `PartialEq`. This ensures that constants used as
204204
/// patterns cannot expose implementation details in an unexpected way or
205205
/// cause semver hazards.
206206
///

0 commit comments

Comments
 (0)