Skip to content

Commit 92f356e

Browse files
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>
1 parent 00e9e18 commit 92f356e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

url/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,8 @@ impl Url {
15241524
}
15251525
}
15261526

1527-
/// Change this URL’s query string.
1527+
/// Change this URL’s query string. If `query` is `None`, this URL's
1528+
/// query string will be cleared.
15281529
///
15291530
/// # Examples
15301531
///

0 commit comments

Comments
 (0)