Преглед на файлове

fix outdated docs for ParseError (#1074)

The referenced unused variant seems to have been removed in commit
52d736e with the move to `#[non_exhaustive]`.
dawn преди 1 година
родител
ревизия
0afccc947a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      url/src/parser.rs

+ 1 - 1
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 {