Skip to content

Commit c8cea47

Browse files
clippy
1 parent 29e6b50 commit c8cea47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/auth/aws.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl AwsCredential {
200200
http_client: &HttpClient,
201201
) -> Result<Self> {
202202
let mut file = File::open(&token_file).map_err(|_| {
203-
Error::authentication_error(MECH_NAME, &format!("could not open identity token file",))
203+
Error::authentication_error(MECH_NAME, "could not open identity token file")
204204
})?;
205205
let mut buffer = Vec::<u8>::new();
206206
file.read_to_end(&mut buffer).map_err(|_| {

0 commit comments

Comments
 (0)