diff options
| author | Veikka Tuominen <git@vexu.eu> | 2020-11-18 13:14:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 13:14:48 +0200 |
| commit | 6d5b76a75d204ac2ce9fb2e03744d9733169dbe3 (patch) | |
| tree | 7fbdbc258851b0ee8e8635373d6b81b12168af68 /tools/process_headers.zig | |
| parent | 66d6930b5c023deb65ea23eb0c4c5029b50b40a3 (diff) | |
| parent | a1ec5448c77bee8d91c7e33d16416406b22fa159 (diff) | |
| download | zig-6d5b76a75d204ac2ce9fb2e03744d9733169dbe3.tar.gz zig-6d5b76a75d204ac2ce9fb2e03744d9733169dbe3.zip | |
Merge pull request #7005 from jshholland/deprecate-span
Remove ArrayList.span
Diffstat (limited to 'tools/process_headers.zig')
| -rw-r--r-- | tools/process_headers.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig index d3486c0693..999b62e715 100644 --- a/tools/process_headers.zig +++ b/tools/process_headers.zig @@ -325,7 +325,7 @@ pub fn main() !void { }, .os = .linux, }; - search: for (search_paths.span()) |search_path| { + search: for (search_paths.items) |search_path| { var sub_path: []const []const u8 = undefined; switch (vendor) { .musl => { @@ -416,7 +416,7 @@ pub fn main() !void { try contents_list.append(contents); } } - std.sort.sort(*Contents, contents_list.span(), {}, Contents.hitCountLessThan); + std.sort.sort(*Contents, contents_list.items, {}, Contents.hitCountLessThan); const best_contents = contents_list.popOrNull().?; if (best_contents.hit_count > 1) { // worth it to make it generic |
