File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 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) {
12901290 /* compiler built-in */
12911291}
12921292
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.
12971296///
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 .
13001299#[ cfg( not( bootstrap) ) ]
13011300#[ lang = "coerce_pointee_validated" ]
13021301#[ unstable( feature = "coerce_pointee_validated" , issue = "none" ) ]
You can’t perform that action at this time.
0 commit comments