Skip to main content

innermost_unclosed_paren

Function innermost_unclosed_paren 

Source
fn innermost_unclosed_paren(prefix: &str) -> Option<usize>
Expand description

Scan back for the ( that is open at the cursor. A depth-0 [ or { means the cursor sits in a type-argument list / list literal / block, not a call.