aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-09-05 16:07:17 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-09-05 16:07:17 +0100
commitad451686a807cf5f86826c80ad22c04c559a8589 (patch)
tree96633364368463feda5ae136fe2a993a15d5b1d3 /rustfmt.toml
parent649f7faf7d6eb25635dd624a2ea50a47ac090e09 (diff)
parentd21fead150d502aa69db82d35967e5e9d73aed56 (diff)
Merge #56
56: Unify lookahead naming between parser and lexer. r=matklad a=zachlute Resolves Issue #26. I wanted to play around with libsyntax2, and fixing a random issue seemed like a good way to mess around in the code. This PR mostly does what's suggested in that issue. I elected to go with `at` and `at_str` instead of trying to do any fancy overloading shenanigans, because...uh, well, frankly I don't really know how to do any fancy overloading shenanigans. The only really questionable bit is `nth_is_p`, which could also have potentially been named `nth_at_p`, but `is` seemed more apropos. I also added simple tests for `Ptr` so I could be less terrified I broke something. Comments and criticisms very welcome. I'm still pretty new to Rust. Co-authored-by: Zach Lute <[email protected]>
Diffstat (limited to 'rustfmt.toml')
0 files changed, 0 insertions, 0 deletions