Unnamed repository; edit this file 'description' to name the repository.
mbe: treat `<-` as one punct
Ryo Yoshida 2022-12-27
parent ec7148b · commit 767351f
-rw-r--r--crates/mbe/src/tt_iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mbe/src/tt_iter.rs b/crates/mbe/src/tt_iter.rs
index 16387bc896..e216e5658b 100644
--- a/crates/mbe/src/tt_iter.rs
+++ b/crates/mbe/src/tt_iter.rs
@@ -119,6 +119,7 @@ impl<'a> TtIter<'a> {
}
('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _)
| ('-' | '=' | '>', '>', _)
+ | ('<', '-', _)
| (':', ':', _)
| ('.', '.', _)
| ('&', '&', _)