Skip to content

Commit e990101

Browse files
authored
Merge pull request #94 from hnez/cargo-clippy-deny-2025-05-23
Cargo clippy deny 2025 05 23
2 parents b364f82 + 3b79f1d commit e990101

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ignore = [
1919
"RUSTSEC-2021-0064",
2020
"RUSTSEC-2023-0086",
2121
"RUSTSEC-2024-0384",
22+
"RUSTSEC-2025-0036",
2223
]
2324

2425
[bans]

src/journal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ use tide::{Request, Response, Server};
2828
#[cfg(any(test, feature = "demo_mode"))]
2929
mod sd {
3030
use std::collections::btree_map::BTreeMap;
31+
use std::io::Error;
3132
pub(super) use std::io::Result;
32-
use std::io::{Error, ErrorKind};
3333
use std::thread::sleep;
3434
use std::time::{Duration, SystemTime};
3535

@@ -81,7 +81,7 @@ mod sd {
8181
sleep(Duration::from_secs(5));
8282
}
8383

84-
Err(Error::new(ErrorKind::Other, "Simulation ended"))
84+
Err(Error::other("Simulation ended"))
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)