mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-30 01:44:58 +03:00
http: remove unnecessary to_string
This commit is contained in:
parent
df52ea8527
commit
4d384dc199
@ -484,8 +484,7 @@ async fn http_handler(
|
||||
method: method.to_string(),
|
||||
url: format!(
|
||||
"http://{}{}",
|
||||
host.unwrap_or(Authority::from_static("localhost"))
|
||||
.to_string(),
|
||||
host.unwrap_or(Authority::from_static("localhost")),
|
||||
original_path
|
||||
),
|
||||
headers: serialized_headers,
|
||||
|
Loading…
Reference in New Issue
Block a user