File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1290,13 +1290,12 @@ pub macro CoercePointee($item:item) {
1290
1290
/* compiler built-in */
1291
1291
}
1292
1292
1293
- /// A validation trait that is implemented on data with `derive(CoercePointee)`
1294
- /// so that the compiler can enforce a set of rules that the target data must
1295
- /// conform to in order for the derived behaviours are safe and useful for
1296
- /// the purpose of the said macro.
1293
+ /// A trait that is implemented for ADTs with `derive(CoercePointee)` so that
1294
+ /// the compiler can enforce the derive impls are valid post-expansion, since
1295
+ /// the derive has stricter requirements than if the impls were written by hand.
1297
1296
///
1298
- /// This trait will not ever be exposed for use as public part of the library
1299
- /// and shall not ever be stabilised .
1297
+ /// This trait is not intended to be implemented by users or used other than
1298
+ /// validation, so it should never be stabilized .
1300
1299
#[ cfg( not( bootstrap) ) ]
1301
1300
#[ lang = "coerce_pointee_validated" ]
1302
1301
#[ unstable( feature = "coerce_pointee_validated" , issue = "none" ) ]
You can’t perform that action at this time.
0 commit comments