# std.ArrayList: Clarify that ensureTotalCapacity/ensureTotalCapacityPrecise will never shrink the array · gitcafe/zig

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

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

Visibility: public

Requested revision: 4dd3505e4329cf87a9ab5a7665ac2263fa2a4ec5

Requested commit: 4dd3505e4329cf87a9ab5a7665ac2263fa2a4ec5

Commit: 4dd3505e4329cf87a9ab5a7665ac2263fa2a4ec5

Tree: 71b90ab69087e57ac441ae2896c3f48e083792c3

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
std.ArrayList: Clarify that ensureTotalCapacity/ensureTotalCapacityPrecise will never shrink the array

Closes #18499

```

## Parents

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

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