mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 20:26:19 +00:00
Fix Request::new documentation (#4560)
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user