aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/subtree_source.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-02 15:14:46 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-02 15:14:46 +0100
commit9901f3e45efebafbd0e9f53951346f171792b169 (patch)
tree6a48f9cbdf7ecd94488d1fd1705b95c96515272f /crates/ra_mbe/src/subtree_source.rs
parentb0e7022afe17f35fd0f6960a279e375b19061919 (diff)
parent35c463315032dcebb38f738cca57581608f19826 (diff)
Merge #1225
1225: Make `vis` matcher optional and fix typo r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/subtree_source.rs')
-rw-r--r--crates/ra_mbe/src/subtree_source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/subtree_source.rs b/crates/ra_mbe/src/subtree_source.rs
index 8176296e6..3554dc110 100644
--- a/crates/ra_mbe/src/subtree_source.rs
+++ b/crates/ra_mbe/src/subtree_source.rs
@@ -319,7 +319,7 @@ fn convert_ident(ident: &tt::Ident) -> TtToken {
319 319
320fn convert_punct(p: &tt::Punct) -> TtToken { 320fn convert_punct(p: &tt::Punct) -> TtToken {
321 let kind = match p.char { 321 let kind = match p.char {
322 // lexer may produce combpund tokens for these ones 322 // lexer may produce compound tokens for these ones
323 '.' => DOT, 323 '.' => DOT,
324 ':' => COLON, 324 ':' => COLON,
325 '=' => EQ, 325 '=' => EQ,