Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
zachs18 committed Sep 13, 2024
1 parent ff316f6 commit c8e6fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub fn derive_anybitpattern(

/// Derive the `Zeroable` trait for a type.
///
/// The macro ensures that the struct follows all the the safety requirements
/// The macro ensures that the type follows all the the safety requirements
/// for the `Zeroable` trait.
///
/// The following constraints need to be satisfied for the macro to succeed on a
Expand All @@ -133,7 +133,7 @@ pub fn derive_anybitpattern(
/// - All fields in the variant with discriminant 0 (if any) must implement
/// `Zeroable`
///
/// The macro always succeeds on `union`s.
/// The macro always succeeds on unions.
///
/// ## Example
///
Expand Down

0 comments on commit c8e6fca

Please sign in to comment.