From 96f2e549b367d55a61ad5d1d6238830f12c0f094 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 13 May 2022 16:51:43 -0400 Subject: [PATCH] Fix docstring typo (#104) --- derive/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/derive/src/lib.rs b/derive/src/lib.rs index 27b91f9..648a1fc 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -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 /// -/// - All fields ind the struct must to implement `AnyBitPattern` +/// - All fields in the struct must to implement `AnyBitPattern` #[proc_macro_derive(AnyBitPattern)] pub fn derive_anybitpattern( input: proc_macro::TokenStream, @@ -69,7 +69,7 @@ pub fn derive_anybitpattern( /// /// 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 ///