File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_expand/src Expand file tree Collapse file tree 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]>>
309309 use rustc_ast:: token:: * ;
310310
311311 // 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 .
316316 let ( tree, rustc) = self ;
317317 match tree {
318318 TokenTree :: Punct ( Punct { ch, joint, span } ) => {
You can’t perform that action at this time.
0 commit comments