Skip to content

Commit d8833cf

Browse files
authored
Merge pull request rust-lang#106 from JohnTitor/fix-ci
2 parents 326ae93 + 0c68740 commit d8833cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
- run: rustup override set ${{env.MSRV}}
5151
- run: rustup component add clippy
5252
- uses: Swatinem/[email protected]
53-
- run: cargo clippy --workspace -- --deny warnings
53+
- run: cargo clippy --workspace -- --deny warnings --allow clippy::suspicious_else_formatting

conduit-static/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Handler for Static {
3535
return Ok(not_found());
3636
}
3737
let mtime = FileTime::from_last_modification_time(&data);
38-
let mtime = OffsetDateTime::from_unix_timestamp(mtime.unix_seconds() as i64);
38+
let mtime = OffsetDateTime::from_unix_timestamp(mtime.unix_seconds());
3939

4040
Response::builder()
4141
.header(header::CONTENT_TYPE, mime)

0 commit comments

Comments
 (0)