Skip to content

refactor: create and use optional_fill!() macro to reduce repetition#8

Open
null8626 wants to merge 4 commits into
TrigrApp:mainfrom
null8626:optional-fill-macro
Open

refactor: create and use optional_fill!() macro to reduce repetition#8
null8626 wants to merge 4 commits into
TrigrApp:mainfrom
null8626:optional-fill-macro

Conversation

@null8626
Copy link
Copy Markdown
Contributor

The following pull request creates and uses an optional_fill!() macro to help reduce repetition in if let Some(v) = y { x.y = v; } patterns. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant