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

Update prettyplease to format macros better #2563

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jun 17, 2023

Before:

assert_eq!(
    ::std::mem::size_of:: < rte_ipv4_tuple > (), 12usize, concat!("Size of: ",
    stringify!(rte_ipv4_tuple))
);

After:

assert_eq!(
    ::std::mem::size_of::<rte_ipv4_tuple>(),
    12usize,
    concat!("Size of: ", stringify!(rte_ipv4_tuple)),
);

@emilio emilio merged commit ee980e1 into rust-lang:main Jun 17, 2023
@dtolnay dtolnay deleted the prettyplease branch June 17, 2023 17:20
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