test formatting

This commit is contained in:
Aleksey Kladov 2021-10-10 11:16:25 +03:00
parent 9c819eaa9a
commit 2510eaa9b2
2 changed files with 2 additions and 1 deletions

View file

@ -128,6 +128,7 @@ fn pretty_print_macro_expansion(expn: SyntaxNode) -> String {
(T![>], _) if curr_kind.is_keyword() => " ",
(T![->], _) | (_, T![->]) => " ",
(T![&&], _) | (_, T![&&]) => " ",
(T![,], _) => " ",
_ => "",
};

View file

@ -835,7 +835,7 @@ macro_rules! m {
($p:pat) => { fn foo() { let $p; } }
}
fn foo() {
let(a,b);
let(a, b);
}
"#]],
);