Skip to content

Commit 7568d98

Browse files
dotcarmenlinusg
andcommitted
avoid T{} syntax
Co-authored-by: linusg <[email protected]>
1 parent e0d2b37 commit 7568d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/os/uefi.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub const EventType = packed struct(u32) {
4646
/// This event should not be combined with any other event types. This event
4747
/// type is functionally equivalent to the EFI_EVENT_GROUP_EXIT_BOOT_SERVICES
4848
/// event group.
49-
pub const signal_exit_boot_services = Type{
49+
pub const signal_exit_boot_services: EventType = .{
5050
.signal = true,
5151
.lo_context = 1,
5252
};
@@ -55,7 +55,7 @@ pub const EventType = packed struct(u32) {
5555
/// is performed. This event type is a composite of EVT_NOTIFY_SIGNAL,
5656
/// EVT_RUNTIME, and EVT_RUNTIME_CONTEXT and should not be combined with
5757
/// any other event types.
58-
pub const signal_virtual_address_change = Type{
58+
pub const signal_virtual_address_change: EventType = .{
5959
.runtime = true,
6060
.hi_context = 0x20000,
6161
.signal = true,

0 commit comments

Comments
 (0)