Skip to content

Commit aea4450

Browse files
author
mdtro
committed
fixing use of deprecated .into_string method on Url
1 parent de385e5 commit aea4450

File tree

1 file changed

+1
-1
lines changed
  • sdk/service_bus/src/event_hub

1 file changed

+1
-1
lines changed

sdk/service_bus/src/event_hub/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn peek_lock_prepare(
6464
let sas = generate_signature(policy_name, signing_key, &url.as_str(), duration);
6565
debug!("sas == {}", sas);
6666

67-
let request = hyper::Request::post(url.into_string())
67+
let request = hyper::Request::post(Into::<String>::into(url))
6868
.header(header::AUTHORIZATION, sas)
6969
.header(header::CONTENT_LENGTH, 0)
7070
.body(Body::empty())?;

0 commit comments

Comments
 (0)