Skip to main content

plan_insert

Function plan_insert 

Source
pub fn plan_insert(
    ctx: &RefactoringContext,
    file: &Path,
    content: &str,
    loc: &SymbolLocation,
    position: InsertPosition,
    code: &str,
) -> PlannedEdit
Expand description

Plan insertion of code relative to a symbol.