prepare_rename

Function prepare_rename 

Source
pub(crate) fn prepare_rename(
    db: &RootDatabase,
    position: FilePosition,
) -> Result<RangeInfo<()>, RenameError>
Expand description

Prepares a rename. The sole job of this function is to return the TextRange of the thing that is being targeted for a rename.