Skip to content

Commit

Permalink
Fix typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Oct 10, 2024
1 parent ed638d0 commit cef55aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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<T>`**: this marks the field as an optional field. All other
/// fields are non-optional and will raise an error if while loading the
Expand Down

0 comments on commit cef55aa

Please sign in to comment.