We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7abc880 commit 490d319Copy full SHA for 490d319
1 file changed
crates/pedm-simulator/src/windows.rs
@@ -74,7 +74,7 @@ pub(super) fn main() -> anyhow::Result<()> {
74
// - This context may not be able to see the same network resources or DC that the interactive user.
75
// Causing LookupAccountNameW to fail with a "no mapping" error.
76
// 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)]
+ #[expect(clippy::cast_possible_wrap)]
78
if e.code() == HRESULT(0x80070534u32 as i32) {
79
println!("Got the 'no mapping' error; continuing...")
80
} else {
0 commit comments