# std.io.Writer.Allocating: extra ensure byte · gitcafe/zig

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

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

Visibility: public

Requested revision: 8f4229158be69685b49f4e1ac446cd3677a2e63f

Requested commit: 8f4229158be69685b49f4e1ac446cd3677a2e63f

Commit: 8f4229158be69685b49f4e1ac446cd3677a2e63f

Tree: 800954e2b6cd43aa495d3382ec242f4fd6adb8f6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.io.Writer.Allocating: extra ensure byte

So that when returning from drain there is always capacity for at least
one more byte.

```

## Parents

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

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