Skip to content

Commit 490d319

Browse files
authored
Apply suggestion from @CBenoit
1 parent 7abc880 commit 490d319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/pedm-simulator/src/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub(super) fn main() -> anyhow::Result<()> {
7474
// - This context may not be able to see the same network resources or DC that the interactive user.
7575
// Causing LookupAccountNameW to fail with a "no mapping" error.
7676
// Let’s just go ahead with the elevation in this case, assuming LocalSystem is enough for all intents and purposes at this point.
77-
#[allow(clippy::cast_possible_wrap)]
77+
#[expect(clippy::cast_possible_wrap)]
7878
if e.code() == HRESULT(0x80070534u32 as i32) {
7979
println!("Got the 'no mapping' error; continuing...")
8080
} else {

0 commit comments

Comments
 (0)