Merge pull request #4064 from ump45nose/doc-range-check-result-variants

Document RangeCheckResult variants with doc comments
This commit is contained in:
Keith Hall authored and GitHub committed 2026-10-14 22:41:06 +03:00
commit 62b439dae3
1 file changed
+3 -3
+3 -3
View File
@@ -355,13 +355,13 @@ fn test_parse_context_fail() {
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum RangeCheckResult {
// Within one of the given ranges
/// Within one of the given ranges
InRange,
// Before the first range or within two ranges
/// Before the first range or within two ranges
BeforeOrBetweenRanges,
// Line number is outside of all ranges and larger than the last range.
/// Line number is outside of all ranges and larger than the last range.
AfterLastRange,
}