Skip to content

Commit cef55aa

Browse files
Fix typos in docs
1 parent ed638d0 commit cef55aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ pub use crate::{
328328
///
329329
/// There are also the following attributes on the struct itself:
330330
///
331-
/// - **`#[config(partial_attr(...))]`: specify attributes that should be
331+
/// - **`#[config(partial_attr(...))]`**: specify attributes that should be
332332
/// attached to the partial struct definition. For example,
333333
/// `#[config(partial_attr(derive(Clone)))]` can be used to make the partial
334334
/// type implement `Clone`.
@@ -339,7 +339,7 @@ pub use crate::{
339339
///
340340
/// These types give a different meaning/semantic to the field. Please note that
341341
/// due to the limitations of derive macros, the type is checked *literally*.
342-
/// So it won't work if you rename symbols or used full paths.
342+
/// So it won't work if you rename symbols or use full paths.
343343
///
344344
/// - **`Option<T>`**: this marks the field as an optional field. All other
345345
/// fields are non-optional and will raise an error if while loading the

0 commit comments

Comments
 (0)