Skip to content

Use ready! macro to reduce boilerplate #699

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

Merged
merged 1 commit into from
May 1, 2021

Conversation

Johannesd3
Copy link
Contributor

I just realized this macro exists. In conjunction with the ? operator it makes a lot of boilerplate match expressions redundant.

@Johannesd3
Copy link
Contributor Author

Why do I always fail at rustfmt? Why is it so hard for me to remember? :(

@sashahilton00 sashahilton00 merged commit 9d5ac1b into librespot-org:dev May 1, 2021
@Johannesd3 Johannesd3 deleted the ready-macro branch May 1, 2021 07:25
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.

2 participants