Use `.is_some_and()` instead of `.is_some() && .unwrap()` (#9704)
Waffle Maybe
and
Marshall Bowers
created
That's nicer & more readable.
(I just noticed that this looks weird while trying to understand why zed
changes my cursor, so decided to make a quick fix (btw the issue with
the cursor is that zed always loads cursor named "default" on wayland))
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>