mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-02 08:02:23 +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(),
|
method: method.to_string(),
|
||||||
url: format!(
|
url: format!(
|
||||||
"http://{}{}",
|
"http://{}{}",
|
||||||
host.unwrap_or(Authority::from_static("localhost"))
|
host.unwrap_or(Authority::from_static("localhost")),
|
||||||
.to_string(),
|
|
||||||
original_path
|
original_path
|
||||||
),
|
),
|
||||||
headers: serialized_headers,
|
headers: serialized_headers,
|
||||||
|
Loading…
Reference in New Issue
Block a user