Skip to content

Commit 97be53f

Browse files
mtolmanmatthewtolman
authored andcommitted
fixed 0.13.0
1 parent 843adfe commit 97be53f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/writer.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub fn value(out_writer: anytype, field: anytype, opts: CsvOpts) !void {
166166
return CsvWriteError.InvalidValueType;
167167
},
168168
.Pointer => |ptr_info| switch (ptr_info.size) {
169-
.one => switch (@typeInfo(ptr_info.child)) {
169+
.One => switch (@typeInfo(ptr_info.child)) {
170170
.Array,
171171
.Enum,
172172
.Union,
@@ -175,13 +175,13 @@ pub fn value(out_writer: anytype, field: anytype, opts: CsvOpts) !void {
175175
},
176176
else => return CsvWriteError.InvalidValueType,
177177
},
178-
.many, .c => {
178+
.Many, .C => {
179179
if (ptr_info.child == u8) {
180180
return writeCsvStr(out_writer, field, opts);
181181
}
182182
return CsvWriteError.InvalidValueType;
183183
},
184-
.slice => {
184+
.Slice => {
185185
if (ptr_info.child == u8) {
186186
return writeCsvStr(out_writer, field, opts);
187187
}

0 commit comments

Comments
 (0)