# std: remove io.AutoIndentingStream · gitcafe/zig

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

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

Visibility: public

Requested revision: 070e548acf8b5cb22459b779ce771b42157f49f7

Requested commit: 070e548acf8b5cb22459b779ce771b42157f49f7

Commit: 070e548acf8b5cb22459b779ce771b42157f49f7

Tree: 2f5fbceac083172b52835db49429567278ca061b

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
std: remove io.AutoIndentingStream

This type is not widely applicable enough to be a public part of the
public interface of the std.

The current implementation in only fully utilized by the zig fmt
implementation, which could benefit by even tighter integration as
will be demonstrated in the next commit. Therefore, move the current
io.AutoIndentingStream to lib/std/zig/render.zig.

The C backend of the self hosted compiler also use this type currently,
but it does not require anywhere near its full complexity. Therefore,
implement a greatly simplified version of this interface in
src/codegen/c.zig.

```

## Parents

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

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