Fix Clippy (#4777)

This commit is contained in:
Rushmore Mushambi 2024-09-16 15:18:21 +01:00 committed by GitHub
parent 4147f673d3
commit 2160380fac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1148,7 +1148,7 @@ dn/RsYEONbwQSjIfMPkvxF+8HQ==
let mut duration_clause = String::new(); let mut duration_clause = String::new();
if case.token_expiration.is_some() || case.session_expiration.is_some() { if case.token_expiration.is_some() || case.session_expiration.is_some() {
duration_clause = format!("DURATION") duration_clause = "DURATION".to_owned()
} }
if let Some(duration) = case.token_expiration { if let Some(duration) = case.token_expiration {
duration_clause = duration_clause =