Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
realcr committed Jun 21, 2019
1 parent 1505f91 commit 4bc805b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tide-cookies/src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ impl<State: Send + Sync + 'static> Middleware<State> for CookiesMiddleware {

let cookie_jar = cookie_data.content.clone();


// The `let _ = ...` is a workaround for issue: https://github.com/rustasync/tide/issues/278
// Solution is according to suggestion in https://github.com/rust-lang/rust/issues/61579#issuecomment-500436524
let _ = cx.extensions_mut().insert(cookie_data);
Expand Down

0 comments on commit 4bc805b

Please sign in to comment.