[pbs-devel] [PATCH proxmox 7/8] section-config: fix link to section_config
Maximiliano Sandoval
m.sandoval at proxmox.com
Mon Aug 26 14:15:35 CEST 2024
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 at proxmox.com>
---
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.
--
2.39.2
More information about the pbs-devel
mailing list