Skip to content

Commit 73775a9

Browse files
committed
Fix docs in compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
1 parent cc8f98f commit 73775a9

File tree

1 file changed

+5
-0
lines changed
  • compiler/rustc_builtin_macros/src/deriving/generic

1 file changed

+5
-0
lines changed

compiler/rustc_builtin_macros/src/deriving/generic/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,11 @@ impl<'a> MethodDef<'a> {
11101110
/// ```
11111111
/// is equivalent to:
11121112
/// ```
1113+
/// #![feature(core_intrinsics)]
1114+
/// enum A {
1115+
/// A1,
1116+
/// A2(i32)
1117+
/// }
11131118
/// impl ::core::cmp::PartialEq for A {
11141119
/// #[inline]
11151120
/// fn eq(&self, other: &A) -> bool {

0 commit comments

Comments
 (0)