Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 9f8df62

Browse files
authored
Merge 91c2a6c into 23ffb1b
2 parents 23ffb1b + 91c2a6c commit 9f8df62

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security audit
22

33
on:
44
schedule:
5-
- cron: '0 0 0 * *'
5+
- cron: '0 0 1 * *'
66
push:
77
paths:
88
- '**/Cargo.toml'

example/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ pub fn pid() -> Pid {
1818
}
1919
}
2020

21-
// Specifically dumb function, just to trigger clippy
21+
// Extremely dumb function, just to trigger clippy as much as possible
2222
pub fn pid_is_valid(pid: Pid) -> bool {
2323
let pid = pid as u32;
24+
println!("{}", pid < 0);
2425
if pid < 0 {
2526
return false;
2627
} else {
@@ -38,4 +39,4 @@ mod tests {
3839
fn test_pid_is_working() {
3940
assert_eq!(pid() as u32, process::id());
4041
}
41-
}
42+
}

0 commit comments

Comments
 (0)