pub fn apply_crate_remaps(path: &str, remaps: &[(&str, &str)]) -> StringExpand description
Apply source→override crate remaps to a fully-qualified Rust path.
If the leading crate segment of path (the part before the first ::)
matches any entry in remaps, that segment is replaced with the override.
Returns path unchanged when no remap applies.