refactor(toml): Prefer common constant for bench dir name

This commit is contained in:
Ed Page 2024-04-05 10:36:30 -05:00
parent f243c91f68
commit b2ca065552

View File

@ -525,7 +525,7 @@ fn resolve_benches(
Some(legacy_path)
};
let inferred = infer_from_directory(&package_root.join("benches"));
let inferred = infer_from_directory(&package_root.join(DEFAULT_BENCH_DIR_NAME));
let targets = resolve_targets_with_legacy_path(
"benchmark",