Skip to content

Commit 0afccc9

Browse files
fix outdated docs for ParseError (#1074)
The referenced unused variant seems to have been removed in commit 52d736e with the move to `#[non_exhaustive]`.
1 parent 43f47e2 commit 0afccc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ macro_rules! simple_enum_error {
5252
/// Errors that can occur during parsing.
5353
///
5454
/// This may be extended in the future so exhaustive matching is
55-
/// discouraged with an unused variant.
55+
/// forbidden.
5656
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
5757
#[non_exhaustive]
5858
pub enum ParseError {

0 commit comments

Comments
 (0)