Browse Source

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 10 years ago
parent
commit
cc6e50a92c
1 changed files with 1 additions and 1 deletions
  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,
     ///     }
     /// }
     /// ```