# Use try_global\(\) \(\#4112\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9240a1a70730c45e7e9a702abb6967f74cb1d2f6

Requested commit: 9240a1a70730c45e7e9a702abb6967f74cb1d2f6

Commit: 9240a1a70730c45e7e9a702abb6967f74cb1d2f6

Tree: 27763c20010a1cd7c697665f3aa29657993a5ae7

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Use try_global() (#4112)

Use `try_global()` in places where we are using the "if global exists,
then give me the global" pattern.

Release Notes:

- N/A
```

## Parents

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

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

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