ra_ap_syntax 0.0.4

Comment and whitespace preserving parser for the Rust language
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn foo() {
    ..1 + 1;
    ..z = 2;
    x = false..1 == 1;
    let x = 1..;
    
    ..=1 + 1;
    ..=z = 2;
    x = false..=1 == 1;
    let x = 1..;
}