chore(perf): replace ok_or with ok_or_else to avoid redundant allocations & miscellaneous lint changes
Summary
- chore(perf): replace ok_or with ok_or_else to avoid redundant allocations
- Close -
- Cherry-pick to: none
- Docs follow-up: not necessary
-
Changelog is updated