Document RangeCheckResult variants with doc comments
This commit is contained in:
1 parent
d9559c69f5
commit
c47a163f4b
1 file changed
+3
-3
+3
-3
@@ -355,13 +355,13 @@ fn test_parse_context_fail() {
|
|||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
pub enum RangeCheckResult {
|
pub enum RangeCheckResult {
|
||||||
// Within one of the given ranges
|
/// Within one of the given ranges
|
||||||
InRange,
|
InRange,
|
||||||
|
|
||||||
// Before the first range or within two ranges
|
/// Before the first range or within two ranges
|
||||||
BeforeOrBetweenRanges,
|
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,
|
AfterLastRange,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user