Skip to content

Commit b88dfd6

Browse files
committed
Clarify doc of ResolveError::PathUnderflow
1 parent a561228 commit b88dfd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/resolve.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ pub enum ResolveError {
1414
/// is relative, is not empty and does not start with `'#'`.
1515
InvalidReferenceAgainstOpaqueBase,
1616
/// An underflow occurred in path resolution.
17+
///
18+
/// Used only when [`Resolver::allow_path_underflow`] is set to `false`.
1719
PathUnderflow,
1820
}
1921

0 commit comments

Comments
 (0)