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.
2 parents 449c801 + 33127af commit 5e9b56cCopy full SHA for 5e9b56c
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