fn validate_unique_names(
    targets: &[TomlTarget],
    target_kind: &str
) -> CargoResult<()>
Expand description

Will check a list of toml targets, and make sure the target names are unique within a vector.