foundry_config::fix

Function fix_toml_non_strict_profiles

Source
fn fix_toml_non_strict_profiles(
    toml_file: &mut TomlFile,
) -> Vec<(String, Result<(), InsertProfileError>)>
Expand description

Making sure any implicit profile [name] becomes [profile.name] for the given file and returns the implicit profiles and the result of editing them