Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use field initialization shorthand #2

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

deepsource-autofix[bot]
Copy link
Contributor

In struct/enum initializations, if the field and variable have the same
name, the field name is redundant and shorthand syntax is applicable.

In `struct`/`enum` initializations, if the field and variable have the same
name, the field name is redundant and shorthand syntax is applicable.
@JarekToro JarekToro force-pushed the deepsource-autofix-05a86e71 branch from 7226ea0 to 2b7dcf3 Compare February 10, 2024 04:56
@JarekToro JarekToro merged commit 6928a55 into main Feb 10, 2024
2 checks passed
@JarekToro JarekToro deleted the deepsource-autofix-05a86e71 branch February 10, 2024 04:58
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