From 92f356e449ff572f2b41665e571e53923a5dcb32 Mon Sep 17 00:00:00 2001 From: philippeitis <33013301+philippeitis@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:26:40 +0000 Subject: [PATCH] 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 --- url/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/url/src/lib.rs b/url/src/lib.rs index b17b82573..d498ee365 100644 --- a/url/src/lib.rs +++ b/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 ///