From 4ad3aa7c96973fb0bcec13f95e472eb07cdc0786 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Thu, 26 Sep 2024 13:07:21 +0100 Subject: [PATCH] update doc comment for get_with_url --- proxy/src/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/http.rs b/proxy/src/http.rs index ee215240b2..14720b5c6b 100644 --- a/proxy/src/http.rs +++ b/proxy/src/http.rs @@ -93,7 +93,7 @@ impl Endpoint { } /// Return a [builder](RequestBuilder) for a `GET` request, - /// appending a single `path` segment to the base endpoint URL. + /// accepting a closure to modify the url path segments for more complex paths queries. pub(crate) fn get_with_url(&self, f: impl for<'a> FnOnce(&'a mut ApiUrl)) -> RequestBuilder { let mut url = self.endpoint.clone(); f(&mut url);