diff options
| author | Ryo Yoshida <low.ryoshida@gmail.com> | 2022-12-27 18:33:21 +0900 |
|---|---|---|
| committer | Ryo Yoshida <low.ryoshida@gmail.com> | 2022-12-27 18:34:46 +0900 |
| commit | 767351fb87688b45eaf1024cff6edf59afcfb8ef (patch) | |
| tree | 2b1c950ccfe4c904e54e15aa8701bdef05a71bb4 | |
| parent | ec7148b0919a1d0a3b61a274acb5b6b6619a209e (diff) | |
| download | rust-767351fb87688b45eaf1024cff6edf59afcfb8ef.tar.gz rust-767351fb87688b45eaf1024cff6edf59afcfb8ef.zip | |
mbe: treat `<-` as one punct
| -rw-r--r-- | crates/mbe/src/tt_iter.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mbe/src/tt_iter.rs b/crates/mbe/src/tt_iter.rs index 16387bc896a..e216e5658b8 100644 --- a/crates/mbe/src/tt_iter.rs +++ b/crates/mbe/src/tt_iter.rs @@ -119,6 +119,7 @@ impl<'a> TtIter<'a> { } ('-' | '!' | '*' | '/' | '&' | '%' | '^' | '+' | '<' | '=' | '>' | '|', '=', _) | ('-' | '=' | '>', '>', _) + | ('<', '-', _) | (':', ':', _) | ('.', '.', _) | ('&', '&', _) |
