File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -944,9 +944,9 @@ safety_comment! {
944
944
/// Analyzes whether a type is [`FromZeros`].
945
945
///
946
946
/// This derive analyzes, at compile time, whether the annotated type satisfies
947
- /// the [safety conditions] of `FromZeros` and implements `FromZeros` if it is
948
- /// sound to do so. This derive can be applied to structs, enums, and unions;
949
- /// e.g.:
947
+ /// the [safety conditions] of `FromZeros` and implements `FromZeros` and its
948
+ /// supertraits if it is sound to do so. This derive can be applied to structs,
949
+ /// enums, and unions; e.g.:
950
950
///
951
951
/// ```
952
952
/// # use zerocopy_derive::{FromZeros, Immutable};
@@ -3204,8 +3204,9 @@ pub unsafe trait FromZeros: TryFromBytes {
3204
3204
/// Analyzes whether a type is [`FromBytes`].
3205
3205
///
3206
3206
/// This derive analyzes, at compile time, whether the annotated type satisfies
3207
- /// the [safety conditions] of `FromBytes` and implements `FromBytes` if it is
3208
- /// sound to do so. This derive can be applied to structs, enums, and unions;
3207
+ /// the [safety conditions] of `FromBytes` and implements `FromBytes` and its
3208
+ /// supertraits if it is sound to do so. This derive can be applied to structs,
3209
+ /// enums, and unions;
3209
3210
/// e.g.:
3210
3211
///
3211
3212
/// ```
You can’t perform that action at this time.
0 commit comments