aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/token_stream.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/token_stream.rs b/src/token_stream.rs
index 1bbf431..13df5ba 100644
--- a/src/token_stream.rs
+++ b/src/token_stream.rs
@@ -52,11 +52,6 @@ fn recurse_replace_ident(
Some(substitution.clone())
}
- TokenTree::Ident(_) if prev_token_was_prefix => {
- prev_token_was_prefix = false;
-
- Some(substitution.clone())
- }
TokenTree::Group(group) => {
prev_token_was_prefix = false;