update doc comment for get_with_url

This commit is contained in:
Conrad Ludgate
2024-09-26 13:07:21 +01:00
committed by Conrad Ludgate
parent 9c59e3b4b9
commit 4ad3aa7c96

View File

@@ -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);