# fix std.io.Writer.VectorWrapper mechanism · gitcafe/zig

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

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

Visibility: public

Requested revision: a7387f0047a1bb67c31e947a251171834a3f9817

Requested commit: a7387f0047a1bb67c31e947a251171834a3f9817

Commit: a7387f0047a1bb67c31e947a251171834a3f9817

Tree: b252b8f17809cf952fa404ab680a65f32f7f93d7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix std.io.Writer.VectorWrapper mechanism

previous implementation erroneously attempted to detect whether vector
API was used via the buffer pointer. This implementation has an explicit
flag.

```

## Parents

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

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