summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2021-05-19 15:45:34 -0400
committerPaul Woolcock <paul@woolcock.us>2021-05-19 15:45:34 -0400
commitf09816b548d5e2bec27bace7a57253dc5e7ebd6b (patch)
treeef37ec6d346278642f5909c991931e04db7ec951
parent02ca0a89515413ac9fb3b655de2f21f6a711e0f2 (diff)
Fix deprecation warning
-rw-r--r--src/registration.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/registration.rs b/src/registration.rs
index dcc5306..5af8405 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -300,7 +300,7 @@ impl Registered {
.append_pair("response_type", "code")
.append_pair("force_login", &self.force_login.to_string());
- Ok(url.into_string())
+ Ok(url.into())
}
/// Create an access token from the client id, client secret, and code