# std.Io.Reader: fix appendRemainingUnlimited · gitcafe/zig

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

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

Visibility: public

Requested revision: abd76938cb8455891c5a69c33edb7060f42001a3

Requested commit: abd76938cb8455891c5a69c33edb7060f42001a3

Commit: abd76938cb8455891c5a69c33edb7060f42001a3

Tree: 879cb79638c8ef3e9a8ed790d255c24073551360

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Reader: fix appendRemainingUnlimited

Now it avoids mutating `r` unnecessarily, allowing the `ending` Reader
to work.

```

## Parents

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

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