Skip to content

Commit 282d72e

Browse files
committed
Fixing clippy lint
1 parent 02c8207 commit 282d72e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl Esi {
120120
token_url: builder.token_url.unwrap_or(TOKEN_URL.to_string()),
121121
spec_url: builder
122122
.spec_url
123-
.unwrap_or(format!("{}{}{}", SPEC_URL_START, version, SPEC_URL_END)),
123+
.unwrap_or(format!("{SPEC_URL_START}{version}{SPEC_URL_END}")),
124124
scope: builder.scope.unwrap_or_else(|| "".to_owned()),
125125
application_auth: builder.application_auth.unwrap_or(false),
126126
access_token: builder.access_token,

0 commit comments

Comments
 (0)