Skip to main content

arrow_function_to_closure_actions

Function arrow_function_to_closure_actions 

Source
pub fn arrow_function_to_closure_actions(
    source: &str,
    doc: &ParsedDoc,
    range: Range,
    uri: &Uri,
) -> Vec<CodeActionOrCommand>
Expand description

Offer “Convert to closure” when the cursor is inside an arrow function. The innermost arrow function at the cursor position wins.