http: remove unnecessary to_string

This commit is contained in:
bitful-pannul 2024-01-17 14:01:40 -03:00
parent df52ea8527
commit 4d384dc199

View File

@ -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,