Avoid an unnecessary return
.
This commit is contained in:
parent
b4fdf648ea
commit
c01a36d5e4
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue