Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
009c3100cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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" => {