@@ -231,7 +231,8 @@ pub trait PartialEq<Rhs: ?Sized = Self> {
231
231
}
232
232
}
233
233
234
- /// Derive macro generating an impl of the trait `PartialEq`.
234
+ /// Derive macro generating an impl of the trait [`PartialEq`].
235
+ /// The behavior of this macro is described in detail [here](PartialEq#derivable).
235
236
#[ rustc_builtin_macro]
236
237
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
237
238
#[ allow_internal_unstable( core_intrinsics, structural_match) ]
@@ -297,7 +298,7 @@ pub trait Eq: PartialEq<Self> {
297
298
fn assert_receiver_is_total_eq ( & self ) { }
298
299
}
299
300
300
- /// Derive macro generating an impl of the trait `Eq`.
301
+ /// Derive macro generating an impl of the trait [ `Eq`] .
301
302
#[ rustc_builtin_macro]
302
303
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
303
304
#[ allow_internal_unstable( core_intrinsics, derive_eq, structural_match, no_coverage) ]
@@ -859,7 +860,8 @@ pub trait Ord: Eq + PartialOrd<Self> {
859
860
}
860
861
}
861
862
862
- /// Derive macro generating an impl of the trait `Ord`.
863
+ /// Derive macro generating an impl of the trait [`Ord`].
864
+ /// The behavior of this macro is described in detail [here](Ord#derivable).
863
865
#[ rustc_builtin_macro]
864
866
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
865
867
#[ allow_internal_unstable( core_intrinsics) ]
@@ -1138,7 +1140,8 @@ pub trait PartialOrd<Rhs: ?Sized = Self>: PartialEq<Rhs> {
1138
1140
}
1139
1141
}
1140
1142
1141
- /// Derive macro generating an impl of the trait `PartialOrd`.
1143
+ /// Derive macro generating an impl of the trait [`PartialOrd`].
1144
+ /// The behavior of this macro is described in detail [here](PartialOrd#derivable).
1142
1145
#[ rustc_builtin_macro]
1143
1146
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
1144
1147
#[ allow_internal_unstable( core_intrinsics) ]
0 commit comments