Fix minor docs formatting issue

This commit is contained in:
Lukas Kalbertodt
2022-10-11 12:59:54 +02:00
parent 6c35c85008
commit 65d0b7ca17

View File

@@ -250,9 +250,9 @@ pub use crate::file::{File, FileFormat};
/// implement `Config`. As implied by the previous statement, `Option<_>` as
/// type for nested fields is not allowed.
///
/// - **Leaf fields**: all fields *not* annotated with `#[config
/// (nested)]`, these contain your actual values. The type of such a field
/// has to implement `serde::Deserialize`.
/// - **Leaf fields**: all fields *not* annotated with `#[config(nested)]`,
/// these contain your actual values. The type of such a field has to
/// implement `serde::Deserialize`.
///
/// Doc comments on the struct and the individual fields are interpreted and
/// stored in [`Meta`][meta::Meta]. They are used in the formatting functions