Преглед изворни кода

Be more detailed in documentation of set_query (#737)

* Be more detailed in documentation of set_query

* Remove trailing space

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
philippeitis пре 2 година
родитељ
комит
92f356e449
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      url/src/lib.rs

+ 2 - 1
url/src/lib.rs

@@ -1524,7 +1524,8 @@ impl Url {
         }
     }
 
-    /// Change this URL’s query string.
+    /// Change this URL’s query string. If `query` is `None`, this URL's
+    /// query string will be cleared.
     ///
     /// # Examples
     ///