From 21cf409aa10c414260c5af8b570b1dbb42b4f112 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Mon, 3 Jun 2024 15:58:38 +0100 Subject: [PATCH] Fix doc links Signed-off-by: Sergey "Shnatsel" Davidoff --- cyclonedx-bom/src/models/bom.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cyclonedx-bom/src/models/bom.rs b/cyclonedx-bom/src/models/bom.rs index 44982296..c05b0993 100644 --- a/cyclonedx-bom/src/models/bom.rs +++ b/cyclonedx-bom/src/models/bom.rs @@ -150,7 +150,7 @@ impl Bom { } /// Parse the input as a JSON document conforming to the version of the specification that you provide. - /// Use [`parse_from_json`] if you want to support multiple versions instead. + /// Use [`parse_from_json`](Self::parse_from_json) if you want to support multiple versions instead. pub fn parse_from_json_with_version( reader: R, version: SpecVersion, @@ -183,7 +183,6 @@ impl Bom { } /// Parse the input as an XML document conforming to the version of the specification that you provide. - /// Use [`parse_from_xml`] if you want to support multiple versions instead. pub fn parse_from_xml_with_version( reader: R, version: SpecVersion,