Skip to content

Commit

Permalink
Remove some unnecessary into() calls.
Browse files Browse the repository at this point in the history
These are probably leftovers from recent `TokenStream` simplifications.
  • Loading branch information
nnethercote committed Feb 17, 2019
1 parent 82ad4f1 commit 895a794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/hir/lowering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ impl<'a> LoweringContext<'a> {
TokenTree::Delimited(span, delim, tts) => TokenTree::Delimited(
span,
delim,
self.lower_token_stream(tts.into()).into(),
self.lower_token_stream(tts),
).into(),
}
}
Expand Down

0 comments on commit 895a794

Please sign in to comment.