# Remove unnecessary Arc from AhoCorasick since it's using it internally \(\#25379\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 328e4d62785b9af7ecd4015f2905c8e9497dbc60

Requested commit: 328e4d62785b9af7ecd4015f2905c8e9497dbc60

Commit: 328e4d62785b9af7ecd4015f2905c8e9497dbc60

Tree: 5db2f4d22fa615ff9f268e2e7fb226d44eb6cf5a

Author: Péter Leéh

Committer: GitHub

## Message

```
Remove unnecessary Arc from AhoCorasick since it's using it internally (#25379)

This PR removes the unnecessary `Arc` around the `AhoCorasick` struct,
since [it's already using it
internally](https://docs.rs/aho-corasick/latest/aho_corasick/struct.AhoCorasick.html#cloning).

Release Notes:

- N/A
```

## Parents

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

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