forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
process_handle_drop_internal()
in bevy_asset (bevyengine#1…
…0920) # Objective - Reduce nesting in `process_handle_drop_internal()`. - Related to bevyengine#10896. ## Solution - Use early returns when possible. - Reduced from 9 levels of indents to 4.
- Loading branch information
Showing
1 changed file
with
52 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters