# Objective
- There are multiple instances of `let Some(x) = ... else { None };`
throughout the project.
- Because `Option<T>` implements
[`Try`](https://doc.rust-lang.org/stable/std/ops/trait.Try.html), it can
use the question mark `?` operator.
## Solution
- Use question mark operator instead of `let Some(x) = ... else { None
}`.
---
There was another PR that did a similar thing a few weeks ago, but I
couldn't find it.
|
||
|---|---|---|
| .. | ||
| entity_ref.rs | ||
| error.rs | ||
| identifier.rs | ||
| mod.rs | ||
| spawn_batch.rs | ||
| unsafe_world_cell.rs | ||
| world_cell.rs | ||