From cef55aa0841adb6ffb4a50ec3cfa580e39efeeaf Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Thu, 10 Oct 2024 12:14:07 +0200 Subject: [PATCH] Fix typos in docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f642358..ba210a7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -328,7 +328,7 @@ pub use crate::{ /// /// There are also the following attributes on the struct itself: /// -/// - **`#[config(partial_attr(...))]`: specify attributes that should be +/// - **`#[config(partial_attr(...))]`**: specify attributes that should be /// attached to the partial struct definition. For example, /// `#[config(partial_attr(derive(Clone)))]` can be used to make the partial /// type implement `Clone`. @@ -339,7 +339,7 @@ pub use crate::{ /// /// These types give a different meaning/semantic to the field. Please note that /// due to the limitations of derive macros, the type is checked *literally*. -/// So it won't work if you rename symbols or used full paths. +/// So it won't work if you rename symbols or use full paths. /// /// - **`Option`**: this marks the field as an optional field. All other /// fields are non-optional and will raise an error if while loading the