time: clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
36e064d73a
commit
60fa521095
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::manual_range_contains)]
|
||||
|
||||
use std::ffi::{CStr, CString};
|
||||
|
||||
use anyhow::{bail, format_err, Error};
|
||||
|
@ -388,6 +388,7 @@ mod test {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::identity_op)]
|
||||
fn test_compute_next_event() -> Result<(), Error> {
|
||||
|
||||
let test_value = |v: &'static str, last: i64, expect: i64| -> Result<i64, Error> {
|
||||
|
Loading…
Reference in New Issue
Block a user