mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
update doc comment for get_with_url
This commit is contained in:
committed by
Conrad Ludgate
parent
9c59e3b4b9
commit
4ad3aa7c96
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user