Skip to content

Commit

Permalink
fix: Fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
plasticbox authored and maxcountryman committed Mar 5, 2024
1 parent e6030a7 commit a36c816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tower-sessions-core/src/session_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ where
Store: SessionStore,
{
async fn save(&self, record: &Record) -> Result<()> {
let cache_save_fut = self.store.save(record);
let store_save_fut = self.cache.save(record);
let store_save_fut = self.store.save(record);
let cache_save_fut = self.cache.save(record);

futures::try_join!(cache_save_fut, store_save_fut)?;
futures::try_join!(store_save_fut, cache_save_fut)?;

Ok(())
}
Expand Down

0 comments on commit a36c816

Please sign in to comment.