Explorar el Código

Auto merge of #161 - goffrie:patch-1, r=KiChjang

Add a missing `SchemeType::` in doc

What it says on the tin.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/161)
<!-- Reviewable:end -->
bors-servo hace 10 años
padre
commit
cc6e50a92c
Se han modificado 1 ficheros con 1 adiciones y 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),
     ///         "https" => SchemeType::Relative(443),
     ///         "ws" => SchemeType::Relative(80),
     ///         "ws" => SchemeType::Relative(80),
     ///         "wss" => SchemeType::Relative(443),
     ///         "wss" => SchemeType::Relative(443),
-    ///         _ => NonRelative,
+    ///         _ => SchemeType::NonRelative,
     ///     }
     ///     }
     /// }
     /// }
     /// ```
     /// ```