From d95ed24dcb45e3d3689987b87ac6edbcaf273033 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 3 Aug 2024 06:49:13 +0900 Subject: [PATCH] doc: resolve empty doc comment (#14) --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a4e8302..f0d2ef6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,