Skip to content

Commit cbb18f5

Browse files
committed
Clippy
1 parent 9a0203b commit cbb18f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ impl CachePolicy {
465465
let date = OffsetDateTime::from(now);
466466
headers.insert(
467467
"age",
468-
HeaderValue::from_str(&format!("{}", age.as_secs() as u32)).unwrap(),
468+
HeaderValue::from_str(&age.as_secs().to_string()).unwrap(),
469469
);
470470
headers.insert(
471471
"date",

0 commit comments

Comments
 (0)