]> git.lizzy.rs Git - rust.git/commitdiff
Merge #2544
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 13 Dec 2019 10:21:19 +0000 (10:21 +0000)
committerGitHub <noreply@github.com>
Fri, 13 Dec 2019 10:21:19 +0000 (10:21 +0000)
2544: Map first and last tokens in original_range r=matklad a=edwin0cheng

This PR try to fix the first part of the `original_range` : Try to map the first token and last token of a `SyntaxNode` , If success, return the union range of mapped tokens.

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

Trivial merge