Skip to content

Commit

Permalink
2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
imbolc committed Jan 3, 2022
1 parent 97b695d commit c985382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
authors = ["imbolc"]
categories = ["web-programming"]
description = "Cookie manager middleware for tower."
edition = "2018"
edition = "2021"
homepage = "https://github.com/imbolc/tower-cookies"
keywords = ["axum", "cookie", "cookies", "tower"]
license = "MIT"
name = "tower-cookies"
readme = "README.md"
repository = "https://github.com/imbolc/tower-cookies"
version = "0.4.0"
version = "0.4.1"

[features]
default = ["axum-core"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Inner {
.header
.as_ref()
.and_then(|h| std::str::from_utf8(h.as_bytes()).ok())
.map(|s| jar_from_str(s))
.map(jar_from_str)
.unwrap_or_default();
self.jar = Some(jar);
}
Expand Down

0 comments on commit c985382

Please sign in to comment.