# breadcrumbs: Use early return in \`set_active_pane_item\` \(\#14691\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 457da7b27c4c2a2050eccab679fd1f86b00a7e5a

Requested commit: 457da7b27c4c2a2050eccab679fd1f86b00a7e5a

Commit: 457da7b27c4c2a2050eccab679fd1f86b00a7e5a

Tree: 18bf4f02d597a83e67ad6b8224738db6646f797c

Author: Marshall Bowers

Committer: GitHub

## Message

```
breadcrumbs: Use early return in `set_active_pane_item` (#14691)

This PR refactors the `set_active_pane_item` implementation for
`Breadcrumbs` to use an early return to avoid indenting the method body
more than necessary.

Release Notes:

- N/A
```

## Parents

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

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