Skip to content

Commit d8eaf17

Browse files
authored
Rollup merge of #141858 - zacryol:spe-docs-typo, r=aDotInTheVoid
Fix typo in `StructuralPartialEq` docs `equialent` => `equivalent`
2 parents 86aa84f + 33127af commit d8eaf17

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)