Skip to content

Commit

Permalink
provide explicit return-type annotation (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcountryman authored Oct 3, 2024
1 parent fb53da6 commit d7db77d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ http-body-util = "0.1"
hyper = "1.0"
time = "0.3.30"
tokio = { version = "1", features = ["full"] }
tower = "0.4.13"
tower = { version = "0.4.13", features = ["util"] }
tower-cookies = "0.10.0"
tower-sessions = "0.13.0"
tower-sessions-sqlx-store = { path = "../sqlx-store/", features = [
Expand Down

0 comments on commit d7db77d

Please sign in to comment.