Skip to content
Snippets Groups Projects
Commit 9500eb75 authored by Stanislav Tkach's avatar Stanislav Tkach Committed by Tomasz Drwięga
Browse files

Fix Request::new documentation (#4560)

parent ce0b82a9
Branches
No related merge requests found
......@@ -176,7 +176,7 @@ impl<'a, T> Request<'a, T> {
}
impl<'a, T: Default> Request<'a, T> {
/// Create new Request builder with given URL and body.
/// Create a new Request builder with the given URL.
pub fn new(url: &'a str) -> Self {
Request::default().url(url)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment