diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 19:07:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 19:07:21 +0100 |
commit | 6791eb9685375da94556bb910ea71f78b08be5ec (patch) | |
tree | 5b1b11a96815d381e366685bb641185e81a1c9c4 /crates/ra_parser/src/grammar/patterns.rs | |
parent | d7f75db90d99216c13000681ff2c4a887451c4b2 (diff) |
Rename PalceholderPat -> WildcardPat
Diffstat (limited to 'crates/ra_parser/src/grammar/patterns.rs')
-rw-r--r-- | crates/ra_parser/src/grammar/patterns.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/patterns.rs b/crates/ra_parser/src/grammar/patterns.rs index d5dd9ffa2..51e413cd6 100644 --- a/crates/ra_parser/src/grammar/patterns.rs +++ b/crates/ra_parser/src/grammar/patterns.rs | |||
@@ -234,7 +234,7 @@ fn placeholder_pat(p: &mut Parser) -> CompletedMarker { | |||
234 | assert!(p.at(T![_])); | 234 | assert!(p.at(T![_])); |
235 | let m = p.start(); | 235 | let m = p.start(); |
236 | p.bump(T![_]); | 236 | p.bump(T![_]); |
237 | m.complete(p, PLACEHOLDER_PAT) | 237 | m.complete(p, WILDCARD_PAT) |
238 | } | 238 | } |
239 | 239 | ||
240 | // test dot_dot_pat | 240 | // test dot_dot_pat |