]> git.lizzy.rs Git - rust.git/commitdiff
Merge #7083
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 30 Dec 2020 00:39:29 +0000 (00:39 +0000)
committerGitHub <noreply@github.com>
Wed, 30 Dec 2020 00:39:29 +0000 (00:39 +0000)
7083: Refactor mbe parsing code r=edwin0cheng a=edwin0cheng

Inspire by #5426 , this PR refactor out the parsing code such that it only parsed on `mbe::Rule`, but not on invocations.

However, it just improve the overall performance unnoticeablely :(

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>

Trivial merge