Skip to content

Commit ea7652f

Browse files
committed
Updating clippy lint in aws-config for new MSRV
1 parent 68704b1 commit ea7652f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/rust-runtime/aws-config/src/environment/credentials.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl EnvironmentVariableCredentialsProvider {
3939
.get("AWS_SESSION_TOKEN")
4040
.ok()
4141
.and_then(|token| match token.trim() {
42-
s if s.is_empty() => None,
42+
"" => None,
4343
s => Some(s.to_string()),
4444
});
4545
Ok(Credentials::new(

0 commit comments

Comments
 (0)