# Provide mut access to allocated arena struct via non-cloneable ArenaBox · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/73682daf38c023646b1fec6cffad9412661f059c)

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

Visibility: public

Requested revision: 73682daf38c023646b1fec6cffad9412661f059c

Requested commit: 73682daf38c023646b1fec6cffad9412661f059c

Commit: 73682daf38c023646b1fec6cffad9412661f059c

Tree: 52f9b84ce7a0d484de135a8806889771bd73bdc9

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Provide mut access to allocated arena struct via non-cloneable ArenaBox

This commit also allows turning an `ArenaBox` into an `ArenaRef` when
non-mutable access is required, which makes `ArenaRef: Clone`. This fixes
a bug that prevented the command palette from reading all the available
actions while the `command_palette::Toggle` action was being dispatched.

```

## Parents

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

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