File tree 1 file changed +4
-4
lines changed
compiler/rustc_expand/src
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -309,10 +309,10 @@ impl ToInternal<SmallVec<[tokenstream::TokenTree; 2]>>
309
309
use rustc_ast:: token:: * ;
310
310
311
311
// The code below is conservative, using `token_alone`/`Spacing::Alone`
312
- // in most places. When the resulting code is pretty-printed by
313
- // `print_tts` it ends up with spaces between most tokens, which is
314
- // safe but ugly. It's hard in general to do better when working at the
315
- // token level .
312
+ // in most places. It's hard in general to do better when working at
313
+ // the token level. When the resulting code is pretty-printed by
314
+ // `print_tts` the `space_between` function helps avoid a lot of
315
+ // unnecessary whitespace, so the results aren't too bad .
316
316
let ( tree, rustc) = self ;
317
317
match tree {
318
318
TokenTree :: Punct ( Punct { ch, joint, span } ) => {
You can’t perform that action at this time.
0 commit comments