We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StructuralPartialEq
1 parent ba55b7c commit 33127afCopy full SHA for 33127af
library/core/src/marker.rs
@@ -200,7 +200,7 @@ pub trait Unsize<T: ?Sized> {
200
///
201
/// Constants are only allowed as patterns if (a) their type implements
202
/// `PartialEq`, and (b) interpreting the value of the constant as a pattern
203
-/// is equialent to calling `PartialEq`. This ensures that constants used as
+/// is equivalent to calling `PartialEq`. This ensures that constants used as
204
/// patterns cannot expose implementation details in an unexpected way or
205
/// cause semver hazards.
206
0 commit comments