Skip to content

Commit 2242088

Browse files
committed
std: fix std.zig.llvm.Builder.Attribute.Index.fmt
1 parent 6e914e8 commit 2242088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/std/zig/llvm/Builder.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,8 +1325,8 @@ pub const Attribute = union(Kind) {
13251325
.none => unreachable,
13261326
}
13271327
}
1328-
pub fn fmt(self: Index, builder: *const Builder, mode: FormatData.mode) std.fmt.Alt(FormatData, format) {
1329-
return .{ .data = .{ .attribute_index = self, .builder = builder, .mode = mode } };
1328+
pub fn fmt(self: Index, builder: *const Builder, flags: FormatData.Flags) std.fmt.Alt(FormatData, format) {
1329+
return .{ .data = .{ .attribute_index = self, .builder = builder, .flags = flags } };
13301330
}
13311331

13321332
fn toStorage(self: Index, builder: *const Builder) Storage {

0 commit comments

Comments
 (0)