Skip to content

Commit

Permalink
doc: resolve empty doc comment (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Aug 2, 2024
1 parent f401e32 commit d95ed24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ pub enum SemverErrorKind {
Context(&'static str),

/**
*/
This error happens only when all of the range is invalid.
*/
#[error("No valid ranges could be parsed")]
#[diagnostic(code(node_semver::no_valid_ranges), url(docsrs), help("node-semver parses in so-called 'loose' mode. This means that if you have a slightly incorrect semver operator (`>=1.y`, for ex.), it will get thrown away. This error only happens if _all_ your input ranges were invalid semver in this way."))]
NoValidRanges,
Expand Down

0 comments on commit d95ed24

Please sign in to comment.