Skip to content

Commit

Permalink
fix(clippy): prefix unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Oct 7, 2024
1 parent a000fc0 commit 6990178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/persistence/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl EdgePersistence for S3Persister {
.send()
.await
.map(|_| ())
.map_err(|err| EdgeError::PersistenceError("Failed to save tokens".to_string()))
.map_err(|_err| EdgeError::PersistenceError("Failed to save tokens".to_string()))
}

async fn load_features(&self) -> EdgeResult<HashMap<String, ClientFeatures>> {
Expand Down Expand Up @@ -139,7 +139,7 @@ impl EdgePersistence for S3Persister {
.cloned()
.collect::<HashMap<String, ClientFeatures>>())
}
Err(e) => Ok(HashMap::new()),
Err(_e) => Ok(HashMap::new()),
}
}

Expand Down

0 comments on commit 6990178

Please sign in to comment.