From ec3e8e05e40ba2a02bcb98a94030a53b0db8a4e0 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Mon, 26 Aug 2024 14:15:35 +0200 Subject: [PATCH] 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 --- proxmox-section-config/src/typed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-section-config/src/typed.rs b/proxmox-section-config/src/typed.rs index d3595bbe..25849be4 100644 --- a/proxmox-section-config/src/typed.rs +++ b/proxmox-section-config/src/typed.rs @@ -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.