Browse Source

Auto merge of #150 - KiChjang:origin-doc, r=SimonSapin

Use triple slash for documentation on Url::origin method

I was a dumb-dumb and didn't add an additional slash for rustdocs.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/150)
<!-- Reviewable:end -->
bors-servo 10 years ago
parent
commit
009c3100cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -635,7 +635,7 @@ impl Url {
         self.to_string()
     }
 
-    // Return the origin of this URL (https://url.spec.whatwg.org/#origin)
+    /// Return the origin of this URL (https://url.spec.whatwg.org/#origin)
     pub fn origin(&self) -> Origin {
         match &*self.scheme {
             "blob" => {