diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-18 04:16:20 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-18 04:16:20 +0000 |
commit | 4c1ea0b628f949612b48dd3b65c7d8bb2255f572 (patch) | |
tree | b57d8b8b433fa06c9c6bd8795c2328507064e002 /crates/ra_assists/src/lib.rs | |
parent | 40c6dd1f4c57d6a8ec26c1bdef24753c884c38aa (diff) | |
parent | 3d9c2beb8e0d4e0fbaded7dac259cadf7616a3ad (diff) |
Merge #987
987: Refactor maybe_item to use Marker argument r=pcpthm a=pcpthm
As suggested at <https://github.com/rust-analyzer/rust-analyzer/pull/980#issuecomment-473659745>.
For expression paring functions, changing signature
- from `fn(&mut Parser) -> Option<CompletedMarker>` to `fn(&mut Parser, Marker) -> Result<CompletedMarker, Marker>`
- from `fn(&mut Parser) -> CompletedMarker` to `fn(&mut Parser, Marker) -> CompletedMarker`
is my plan.
Co-authored-by: pcpthm <[email protected]>
Diffstat (limited to 'crates/ra_assists/src/lib.rs')
0 files changed, 0 insertions, 0 deletions