Fix Request::new documentation (#4560)

This commit is contained in:
Stanislav Tkach
2020-01-07 19:09:27 +02:00
committed by Tomasz Drwięga
parent ce0b82a9da
commit 9500eb7590
@@ -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)
}