Răsfoiți Sursa

Use triple slash for documentation on Url::origin method

Keith Yeung 10 ani în urmă
părinte
comite
da98e200f3
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -635,7 +635,7 @@ impl Url {
         self.to_string()
         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 {
     pub fn origin(&self) -> Origin {
         match &*self.scheme {
         match &*self.scheme {
             "blob" => {
             "blob" => {