1
Fork 0

Avoid an unnecessary return.

This commit is contained in:
Nicholas Nethercote 2022-07-27 15:07:19 +10:00
parent b4fdf648ea
commit c01a36d5e4

View file

@ -284,9 +284,9 @@ impl TokenStreamBuilder {
{
self.buf.pop();
self.buf.push(TokenTree::Token(glued, *joint));
return;
} else {
self.buf.push(tree)
}
self.buf.push(tree);
}
fn into_token_stream(self) -> TokenStream {