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(), 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,