Przeglądaj źródła

Use triple slash for documentation on Url::origin method

Keith Yeung 10 lat temu
rodzic
commit
da98e200f3
1 zmienionych plików z 1 dodań i 1 usunięć
  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" => {