# gpui: Don't impl IntoElement on \(\) \(\#8555\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 014e6f66bba2f96e0549f0a109961481a8c545ec

Requested commit: 014e6f66bba2f96e0549f0a109961481a8c545ec

Commit: 014e6f66bba2f96e0549f0a109961481a8c545ec

Tree: 63500f754c58c45e17d41549d9ed13bb086810bb

Author: Conrad Irwin

Committer: GitHub

## Message

```
gpui: Don't impl IntoElement on () (#8555)

Although it's kinda cute, rust makes it too easy to accidentally return
() from a function.

/cc @nathansobo

Release Notes:

- N/A
```

## Parents

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

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