section-config: fix link to section_config

Fixes:

warning: unresolved link to `seccfg`
  --> proxmox-section-config/src/typed.rs:18:71
   |
18 |     /// If the [`SectionConfig`] returned by the [`section_config()`][seccfg] method includes the
   |                                                                       ^^^^^^ no item named `seccfg` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `seccfg`
  --> proxmox-section-config/src/typed.rs:22:10
   |
22 |     /// [seccfg] ApiSectionDataEntry::section_config()
   |          ^^^^^^ no item named `seccfg` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-08-26 14:15:35 +02:00 committed by Wolfgang Bumiller
parent 0157b6fdea
commit ec3e8e05e4

View File

@ -19,7 +19,7 @@ pub trait ApiSectionDataEntry: Sized {
/// `.with_type_key()` properties correctly, this should be set to `true`, otherwise `false`
/// (which is the default).
///
/// [seccfg] ApiSectionDataEntry::section_config()
/// [seccfg]: Self::section_config()
const SECION_CONFIG_USES_TYPE_KEY: bool = false;
/// Get the `SectionConfig` configuration for this enum.