Rollup merge of #125316 - nnethercote:tweak-Spacing, r=petrochenkov
Tweak `Spacing` use Some clean-up precursors to #125174. r? ``@petrochenkov``
This commit is contained in:
commit
3c79f0cd69
7 changed files with 75 additions and 31 deletions
|
@ -661,11 +661,11 @@ impl TokenStream {
|
|||
if attr_style == AttrStyle::Inner {
|
||||
vec![
|
||||
TokenTree::token_joint(token::Pound, span),
|
||||
TokenTree::token_alone(token::Not, span),
|
||||
TokenTree::token_joint_hidden(token::Not, span),
|
||||
body,
|
||||
]
|
||||
} else {
|
||||
vec![TokenTree::token_alone(token::Pound, span), body]
|
||||
vec![TokenTree::token_joint_hidden(token::Pound, span), body]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue