mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
ArrayList.pop now returns optional like removed popOrNull
See https://github.com/ziglang/zig/pull/22720 . Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
This commit is contained in:
parent
cf3a8f3043
commit
93a81a3898
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ const Thread = struct {
|
||||||
if (entry) |e| t.scanOne(d, e.name)
|
if (entry) |e| t.scanOne(d, e.name)
|
||||||
else {
|
else {
|
||||||
t.sink.setDir(null);
|
t.sink.setDir(null);
|
||||||
t.stack.pop().destroy(t);
|
t.stack.pop().?.destroy(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue