feat: take impl IntoUrl instead of only &str
This commit is contained in:
parent
3f2b0b5fd2
commit
8628b78598
4 changed files with 57 additions and 17 deletions
|
@ -21,7 +21,7 @@ async fn main() -> Result<(), LibError> {
|
|||
let config = parse_args();
|
||||
let client = build_client(&config).await?;
|
||||
|
||||
let mut resp = client.request(&config.url).await?;
|
||||
let mut resp = client.request(config.url).await?;
|
||||
|
||||
{
|
||||
let status_code = resp.status().status_code();
|
||||
|
|
Loading…
Add table
Reference in a new issue