-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[reflection] cleanup
derive_reflect
(#2377)
# Objective - The current `derive_reflect` implementation is a large function with difficult to follow code paths. - When determining the "active fields" (e.g. those that don't use `#[reflect(ignore)]`) the logic is unnecessarily complex. ## Solution - Refactor `derive_reflect` by breaking into into smaller functions, and simplifying the logic for obtaining the "active fields".
- Loading branch information
1 parent
00f8394
commit f039478
Showing
1 changed file
with
42 additions
and
63 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