# std.ArrayList: use variable for local mutable state · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0f3e8497195f383b9f2eb8cddd84f4966502f521)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0f3e8497195f383b9f2eb8cddd84f4966502f521

Requested commit: 0f3e8497195f383b9f2eb8cddd84f4966502f521

Commit: 0f3e8497195f383b9f2eb8cddd84f4966502f521

Tree: fbd7de35abde2487584432a534d828c9ea6bd124

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.ArrayList: use variable for local mutable state

stage1 has the wrong semantics here

```

## Parents

- [491e3ba6b12e79341d8f5f7711678ec597f7b244](https://git.cafe/gitcafe/zig/commit/491e3ba6b12e79341d8f5f7711678ec597f7b244?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0f3e8497195f383b9f2eb8cddd84f4966502f521?format=markdown)
