This commit is contained in:
Aode (Lion) 2021-10-21 16:36:31 -05:00
parent 2b490b7465
commit 2295837ea4
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,7 @@ authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"
repository = "https://git.asonix.dog/asonix/pict-rs"
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]

View file

@ -113,7 +113,6 @@ where
.headers()
.get("X-Request-Deadline")
.and_then(|deadline| {
use std::convert::TryInto;
let deadline = time::OffsetDateTime::from_unix_timestamp_nanos(
deadline.to_str().ok()?.parse().ok()?,
)