Explorar o código

Add a missing `SchemeType::` in doc

Geoffry Song %!s(int64=10) %!d(string=hai) anos
pai
achega
3eb0014172
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -415,7 +415,7 @@ impl<'a> UrlParser<'a> {
     ///         "https" => SchemeType::Relative(443),
     ///         "ws" => SchemeType::Relative(80),
     ///         "wss" => SchemeType::Relative(443),
-    ///         _ => NonRelative,
+    ///         _ => SchemeType::NonRelative,
     ///     }
     /// }
     /// ```