Skip to content

Commit 1389991

Browse files
authored
Merge pull request #73 from cakebaker/ci_use_clippy_all_targets
ci: use `clippy --all-targets`
2 parents acf9b9c + fc14854 commit 1389991

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
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- uses: dtolnay/rust-toolchain@stable
4949
- run: rustup component add clippy
50-
- run: cargo clippy -- -D warnings
50+
- run: cargo clippy --all-targets -- -D warnings
5151

5252
coverage:
5353
name: Code Coverage

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ mod tests {
476476
#[test]
477477
fn test_time_only() {
478478
env::set_var("TZ", "UTC");
479-
let test_date = Local.with_ymd_and_hms(2024, 03, 03, 0, 0, 0).unwrap();
479+
let test_date = Local.with_ymd_and_hms(2024, 3, 3, 0, 0, 0).unwrap();
480480
let parsed_time = parse_datetime_at_date(test_date, "9:04:30 PM +0530")
481481
.unwrap()
482482
.timestamp();

0 commit comments

Comments
 (0)