We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c9436 commit 84c9ceeCopy full SHA for 84c9cee
lib/std/os/uefi/protocol/file.zig
@@ -239,7 +239,7 @@ pub const File = extern struct {
239
self: *const File,
240
comptime info: std.meta.Tag(Info),
241
buffer: []u8,
242
- ) GetInfoError!struct { usize, @FieldType(Info, @tagName(info)) } {
+ ) GetInfoError!*@FieldType(Info, @tagName(info)) {
243
const InfoType = @FieldType(Info, @tagName(info));
244
245
var len = buffer.len;
@@ -268,7 +268,7 @@ pub const File = extern struct {
268
269
const attached_str: [*:0]const u16 = switch (info) {
270
.file => data.getFileName(),
271
- inline .file_system, .volume_label => data.getVolumeLabel(),
+ .file_system, .volume_label => data.getVolumeLabel(),
272
};
273
const attached_str_len = std.mem.sliceTo(attached_str, 0).len;
274
0 commit comments