cargo_fmt

Function get_targets

Source
pub(crate) fn get_targets(
    strategy: &CargoFmtStrategy,
    manifest_path: Option<&Path>,
) -> Result<BTreeSet<Target>, Error>
Expand description

Based on the specified CargoFmtStrategy, returns a set of main source files.