Skip to content

Commit 7df808b

Browse files
committed
Fix clippy issue on windows
Signed-off-by: Simon Davies <[email protected]>
1 parent b093e9a commit 7df808b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/src/hypervisor/hyperv_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl HypervWindowsDriver {
131131
WHV_REGISTER_VALUE {
132132
Segment: WHV_X64_SEGMENT_REGISTER {
133133
Anonymous: WHV_X64_SEGMENT_REGISTER_0 {
134-
Attributes: 0b1011 | 1 << 4 | 1 << 7 | 1 << 13, // Type (11: Execute/Read, accessed) | L (64-bit mode) | P (present) | S (code segment)
134+
Attributes: 0b1011 | (1 << 4) | (1 << 7) | (1 << 13), // Type (11: Execute/Read, accessed) | L (64-bit mode) | P (present) | S (code segment)
135135
},
136136
..Default::default() // zero out the rest
137137
},

0 commit comments

Comments
 (0)