Skip to content

Commit c591333

Browse files
committed
xxx clippy
1 parent e5c61f7 commit c591333

File tree

1 file changed

+2
-6
lines changed
  • crates/vmi-os-windows/src

1 file changed

+2
-6
lines changed

crates/vmi-os-windows/src/lib.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ where
20262026
}
20272027
}
20282028

2029-
return Ok(None);
2029+
Ok(None)
20302030
}
20312031

20322032
/// Retrieves the root directory object for the Windows kernel.
@@ -3286,11 +3286,7 @@ where
32863286
) -> Result<impl Iterator<Item = Result<Va, VmiError>> + 'a, VmiError> {
32873287
let root = self.vad_root(vmi, registers, process)?;
32883288

3289-
Ok(TreeNodeIterator::new(
3290-
VmiSession::new(vmi, self),
3291-
registers,
3292-
root,
3293-
)?)
3289+
TreeNodeIterator::new(VmiSession::new(vmi, self), registers, root)
32943290
}
32953291

32963292
/// Returns the process object iterator.

0 commit comments

Comments
 (0)