diff options
| author | xackus <14938807+xackus@users.noreply.github.com> | 2020-04-04 19:15:08 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-04 17:37:51 -0400 |
| commit | cd20e0cc672249555709e1b58a415ddd50b03ad9 (patch) | |
| tree | 38f017bc3a4f7adbf7c3a1463ba66d3a1ab9569f /build.zig | |
| parent | e5d479b06e74e04b3ef3108e6098424b2130cbe5 (diff) | |
| download | zig-cd20e0cc672249555709e1b58a415ddd50b03ad9.tar.gz zig-cd20e0cc672249555709e1b58a415ddd50b03ad9.zip | |
rename mem.separate to mem.split
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -412,7 +412,7 @@ fn findAndParseConfigH(b: *Builder) !Context { while (lines_it.next()) |line| { inline for (mappings) |mapping| { if (mem.startsWith(u8, line, mapping.prefix)) { - var it = mem.separate(line, "\""); + var it = mem.split(line, "\""); _ = it.next().?; // skip the stuff before the quote @field(ctx, mapping.field) = it.next().?; // the stuff inside the quote } |
