-
Notifications
You must be signed in to change notification settings - Fork 960
Support formatting for lazy_static::lazy_static!
#6690
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
Support formatting for lazy_static::lazy_static!
#6690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to merge, @ytmimi thoughts?
This technically impacts formatted code. I don't know what our decision matrix is for stuff like this. Also, at this point I don't know if we need to fix it, |
I think The changes to |
@shulaoda can you do this? I think it would be good to merge after. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
closes #6287
Since this is special support for a specific crate macro, we should handle both forms —
lazy_static!
andlazy_static::lazy_static!
.