Function cargo::util::toml::targets::validate_unique_names

source ยท
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.