Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan committed Feb 19, 2024
1 parent 9b2a002 commit d060cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atrium-xrpc-client/src/surf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl SurfClient {
/// Create a new [`SurfClient`] using the passed [`surf::Client`].
pub fn new(base_uri: impl AsRef<str>, client: Client) -> Self {
Self {
base_uri: base_uri.as_ref().to_string(),
base_uri: base_uri.as_ref().into(),
client: Arc::new(client),
}
}
Expand Down

0 comments on commit d060cd8

Please sign in to comment.