about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzacryol <60046681+zacryol@users.noreply.github.com>2025-06-01 08:15:00 -0600
committerGitHub <noreply@github.com>2025-06-01 08:15:00 -0600
commit33127afef04b26d1cb69fd98cd30c6c8181eff4b (patch)
treec9995cafa424572d8fabb926216c89a76049040d
parentba55b7ce3cd931af7123e334647584f6fbdb3c20 (diff)
downloadrust-33127afef04b26d1cb69fd98cd30c6c8181eff4b.tar.gz
rust-33127afef04b26d1cb69fd98cd30c6c8181eff4b.zip
Fix typo in `StructuralPartialEq` docs
`equialent` => `equivalent`
-rw-r--r--library/core/src/marker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs
index 700fb0f386e..9991b76cd0a 100644
--- a/library/core/src/marker.rs
+++ b/library/core/src/marker.rs
@@ -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.
 ///