Skip to content

Commit 23e4bd4

Browse files
committed
Add note on SpecOptionPartialEq to newtype_index
1 parent 46d53d9 commit 23e4bd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/option.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,7 @@ impl<T: PartialEq> PartialEq for Option<T> {
21472147
///
21482148
/// Once that's fixed, `Option` should go back to deriving `PartialEq`, as
21492149
/// it used to do before <https://github.com/rust-lang/rust/pull/103556>.
2150+
/// The comment regarding this trait on the `newtype_index` macro should be removed if this is done.
21502151
#[unstable(feature = "spec_option_partial_eq", issue = "none", reason = "exposed only for rustc")]
21512152
#[doc(hidden)]
21522153
pub trait SpecOptionPartialEq: Sized {

0 commit comments

Comments
 (0)