Skip to content

Commit

Permalink
provide explicit return-type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcountryman committed Sep 27, 2024
1 parent fb53da6 commit 6ee7e5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion redis-store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ where
}

async fn delete(&self, session_id: &Id) -> session_store::Result<()> {
self.client
let _: () = self
.client
.del(session_id.to_string())
.await
.map_err(RedisStoreError::Redis)?;
Expand Down

0 comments on commit 6ee7e5e

Please sign in to comment.