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

Use brace_style for macro_rules! #4940

Closed
Iron-E opened this issue Aug 5, 2021 · 1 comment
Closed

Use brace_style for macro_rules! #4940

Iron-E opened this issue Aug 5, 2021 · 1 comment

Comments

@Iron-E
Copy link

Iron-E commented Aug 5, 2021

Sorry for opening so many issues at once here!

New macros don't adhere to brace_style. For example, when brace_style = "AlwaysNextLine", a macro_rules! will look like this:

macro_rules! filter_map_view {
  ($query:ident, $val:ident) => {

It should look like this:

macro_rules! filter_map_view
{
  ($query:ident, $val:ident) =>
  {
@calebcartwright
Copy link
Member

Closing as per #4938 (comment)

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

No branches or pull requests

2 participants