# std.process.Args: make toSlice require arena allocation · gitcafe/zig

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

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

Visibility: public

Requested revision: a6f519c20f105a60c2ac51530354f9ac7c3e1fd9

Requested commit: a6f519c20f105a60c2ac51530354f9ac7c3e1fd9

Commit: a6f519c20f105a60c2ac51530354f9ac7c3e1fd9

Tree: 386c78c89196b082944ac36f3f1f4b7b02aeb5bb

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.process.Args: make toSlice require arena allocation

this simplifies the implementation, allows specializing it, and allows
deleting the corresponding free function. In practice this is how it is
always used anyway.

```

## Parents

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

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