We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 326ae93 + 0c68740 commit d8833cfCopy full SHA for d8833cf
.github/workflows/ci.yml
@@ -50,4 +50,4 @@ jobs:
50
- run: rustup override set ${{env.MSRV}}
51
- run: rustup component add clippy
52
- uses: Swatinem/[email protected]
53
- - run: cargo clippy --workspace -- --deny warnings
+ - run: cargo clippy --workspace -- --deny warnings --allow clippy::suspicious_else_formatting
conduit-static/src/lib.rs
@@ -35,7 +35,7 @@ impl Handler for Static {
35
return Ok(not_found());
36
}
37
let mtime = FileTime::from_last_modification_time(&data);
38
- let mtime = OffsetDateTime::from_unix_timestamp(mtime.unix_seconds() as i64);
+ let mtime = OffsetDateTime::from_unix_timestamp(mtime.unix_seconds());
39
40
Response::builder()
41
.header(header::CONTENT_TYPE, mime)
0 commit comments