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

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

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

Visibility: public

Requested revision: 18c4a500b6fd93e3e48ccaf413f2e9f90730f069

Requested commit: 18c4a500b6fd93e3e48ccaf413f2e9f90730f069

Commit: 18c4a500b6fd93e3e48ccaf413f2e9f90730f069

Tree: 7111dba0d59f35f92a3c5d972892274d9da21b59

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

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

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