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 @@ -923,9 +923,9 @@ safety_comment! {
923923/// Analyzes whether a type is [`FromZeros`].
924924///
925925/// This derive analyzes, at compile time, whether the annotated type satisfies
926- /// the [safety conditions] of `FromZeros` and implements `FromZeros` if it is
927- /// sound to do so. This derive can be applied to structs, enums, and unions;
928- /// e.g.:
926+ /// the [safety conditions] of `FromZeros` and implements `FromZeros` and its
927+ /// supertraits if it is sound to do so. This derive can be applied to structs,
928+ /// enums, and unions; e.g.:
929929///
930930/// ```
931931/// # use zerocopy_derive::{FromZeros, Immutable};
@@ -3174,8 +3174,9 @@ pub unsafe trait FromZeros: TryFromBytes {
31743174/// Analyzes whether a type is [`FromBytes`].
31753175///
31763176/// This derive analyzes, at compile time, whether the annotated type satisfies
3177- /// the [safety conditions] of `FromBytes` and implements `FromBytes` if it is
3178- /// sound to do so. This derive can be applied to structs, enums, and unions;
3177+ /// the [safety conditions] of `FromBytes` and implements `FromBytes` and its
3178+ /// supertraits if it is sound to do so. This derive can be applied to structs,
3179+ /// enums, and unions;
31793180/// e.g.:
31803181///
31813182/// ```
You can’t perform that action at this time.
0 commit comments