fix a constness ordering bug in rustfmt
Normally, changes to rustfmt go into the separate repo. But, in this case, the bug is introduced in a local change and therefore isn't present in the rustfmt repo.
This commit is contained in:
parent
84a1747022
commit
8dfd6b8ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -1175,8 +1175,8 @@ pub(crate) fn format_trait(
|
|||
let mut result = String::with_capacity(128);
|
||||
let header = format!(
|
||||
"{}{}{}{}trait ",
|
||||
format_constness(constness),
|
||||
format_visibility(context, &item.vis),
|
||||
format_constness(constness),
|
||||
format_safety(safety),
|
||||
format_auto(is_auto),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue