]> git.lizzy.rs Git - rust.git/commit
SSR: Refactor matching code.
authorDavid Lattimore <dml@google.com>
Fri, 3 Jul 2020 03:09:14 +0000 (13:09 +1000)
committerDavid Lattimore <dml@google.com>
Fri, 3 Jul 2020 22:56:58 +0000 (08:56 +1000)
commit69051d2f9dcf008124918ef34d2f11221a6a20f0
treefb9527539d736ff98f690550bc769b68e5263811
parent4a8679824b9ddf950e6754231755d5d065692c47
SSR: Refactor matching code.

Mutable state is now stored in the enum Phase.
MatchState, since it now has no mutable state is renamed Matcher.
MatchInputs is merged into Matcher
crates/ra_ssr/src/matching.rs