From ba666004038b9919eca45232a7d966c761494f95 Mon Sep 17 00:00:00 2001 From: dawnofmidnight Date: Mon, 8 Sep 2025 15:25:51 -0400 Subject: [PATCH] fix outdated docs for ParseError The referenced unused variant seems to have been removed in commit 52d736e with the move to `#[non_exhaustive]`. --- url/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url/src/parser.rs b/url/src/parser.rs index 53274424..dbdf9b90 100644 --- a/url/src/parser.rs +++ b/url/src/parser.rs @@ -52,7 +52,7 @@ macro_rules! simple_enum_error { /// Errors that can occur during parsing. /// /// This may be extended in the future so exhaustive matching is - /// discouraged with an unused variant. + /// forbidden. #[derive(PartialEq, Eq, Clone, Copy, Debug)] #[non_exhaustive] pub enum ParseError {