mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 12:27:56 +00:00
Fix Request::new documentation (#4560)
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user