aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs
diff options
context:
space:
mode:
authorxackus <14938807+xackus@users.noreply.github.com>2020-04-11 21:06:56 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-04-11 20:40:34 -0400
commitdbc00e24247da16ac584bb9e92b5ccf04647c3b9 (patch)
treea73219b06cb0ead18b93289975257f2f498f5dd4 /lib/std/fs
parent3c34c313cf999238753b34f01b0437a552fb3be0 (diff)
downloadzig-dbc00e24247da16ac584bb9e92b5ccf04647c3b9.tar.gz
zig-dbc00e24247da16ac584bb9e92b5ccf04647c3b9.zip
ArrayList: remove old (before span) API
Diffstat (limited to 'lib/std/fs')
-rw-r--r--lib/std/fs/test.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/fs/test.zig b/lib/std/fs/test.zig
index e9706e2b83..da2d2c0d0c 100644
--- a/lib/std/fs/test.zig
+++ b/lib/std/fs/test.zig
@@ -158,7 +158,7 @@ const FileLockTestContext = struct {
fn run_lock_file_test(contexts: []FileLockTestContext) !void {
var threads = std.ArrayList(*std.Thread).init(std.testing.allocator);
defer {
- for (threads.toSlice()) |thread| {
+ for (threads.items) |thread| {
thread.wait();
}
threads.deinit();