Skip to content

Commit 8e1bb48

Browse files
committed
after clippying, now rustfmt
1 parent b958cea commit 8e1bb48

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

xtask/src/task_phd.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,8 @@ impl Cmd {
301301
}
302302
};
303303

304-
let artifact_dir = artifact_args
305-
.artifact_directory
306-
.unwrap_or_else(|| {
304+
let artifact_dir =
305+
artifact_args.artifact_directory.unwrap_or_else(|| {
307306
// if there's no explicitly overridden `artifact_dir` path, use
308307
// `target/phd/artifacts`.
309308
phd_dir.join("artifacts")
@@ -331,9 +330,8 @@ impl Cmd {
331330

332331
mkdir(&tmp_dir, "temp directory")?;
333332

334-
let artifacts_toml = artifact_args
335-
.artifact_toml_path
336-
.unwrap_or_else(|| {
333+
let artifacts_toml =
334+
artifact_args.artifact_toml_path.unwrap_or_else(|| {
337335
// if there's no explicitly overridden `artifacts.toml` path,
338336
// determine the default one from the workspace path.
339337
relativize(&meta.workspace_root)

0 commit comments

Comments
 (0)