Skip to main content

join_locator

Function join_locator 

Source
pub fn join_locator(target: impl Into<String>, locator: Option<&str>) -> String
Expand description

Re-attach a locator to a document target — the inverse of split_locator. None returns the target unchanged, so this is safe on a target that never had one.