Skip to main content

remap_site

Function remap_site 

Source
pub fn remap_site(site: &SiteRef, plan: &RenamePlan) -> SiteRef
Expand description

The post-edit position of a pre-edit site — rename edits shift spans within edited files. An edited span maps to the new name’s span.