Fix docstring typo (#104)

This commit is contained in:
Nicholas Bishop 2022-05-13 16:51:43 -04:00 committed by GitHub
parent d8b67687f3
commit 96f2e549b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ pub fn derive_pod(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
/// ///
/// The following constraints need to be satisfied for the macro to succeed /// The following constraints need to be satisfied for the macro to succeed
/// ///
/// - All fields ind the struct must to implement `AnyBitPattern` /// - All fields in the struct must to implement `AnyBitPattern`
#[proc_macro_derive(AnyBitPattern)] #[proc_macro_derive(AnyBitPattern)]
pub fn derive_anybitpattern( pub fn derive_anybitpattern(
input: proc_macro::TokenStream, input: proc_macro::TokenStream,
@ -69,7 +69,7 @@ pub fn derive_anybitpattern(
/// ///
/// The following constraints need to be satisfied for the macro to succeed /// The following constraints need to be satisfied for the macro to succeed
/// ///
/// - All fields ind the struct must to implement `Zeroable` /// - All fields in the struct must to implement `Zeroable`
/// ///
/// ## Example /// ## Example
/// ///