Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
  • Loading branch information
Shnatsel committed Jun 3, 2024
1 parent b90777a commit 21cf409
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cyclonedx-bom/src/models/bom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<R: std::io::Read>(
reader: R,
version: SpecVersion,
Expand Down Expand Up @@ -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<R: std::io::Read>(
reader: R,
version: SpecVersion,
Expand Down

0 comments on commit 21cf409

Please sign in to comment.