# std.ArrayList: add clearRetainingCapacity and clearAndFree · gitcafe/zig

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

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

Visibility: public

Requested revision: c714a3250f57817ea565f0390cecf12025655376

Requested commit: c714a3250f57817ea565f0390cecf12025655376

Commit: c714a3250f57817ea565f0390cecf12025655376

Tree: 1e9d2c65239070cc3fcfc3ff1915c2efbb019c39

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.ArrayList: add clearRetainingCapacity and clearAndFree

```

## Parents

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

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