Fix Request::new documentation (#4560)

This commit is contained in:
Stanislav Tkach authored and Tomasz Drwięga committed 2020-01-07 18:09:27 +01:00
1 parent ce0b82a9da
commit 9500eb7590
1 file changed
+1 -1
@@ -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)
}