Skip to content

Commit

Permalink
fix cargo-fmt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Feb 5, 2025
1 parent 1b6e08b commit 2fb962e
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions cargo-dist/src/init/apply_dist/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,25 +284,15 @@ github = true
release_branch: Some("main".to_string()),
pr_run_mode: Some(dist_schema::PrRunMode::Skip),
tag_namespace: Some("some-namespace".to_string()),
plan_jobs: Some(vec![
"./plan-job".parse().unwrap(),
]),
plan_jobs: Some(vec!["./plan-job".parse().unwrap()]),
build_local_jobs: Some(vec![
"./build-local-job-1".parse().unwrap(),
"./build-local-job-2".parse().unwrap(),
]),
build_global_jobs: Some(vec![
"./build-global-job".parse().unwrap(),
]),
host_jobs: Some(vec![
"./host-job".parse().unwrap(),
]),
publish_jobs: Some(vec![
"./publish-job".parse().unwrap(),
]),
post_announce_jobs: Some(vec![
"./post-announce-job".parse().unwrap(),
]),
build_global_jobs: Some(vec!["./build-global-job".parse().unwrap()]),
host_jobs: Some(vec!["./host-job".parse().unwrap()]),
publish_jobs: Some(vec!["./publish-job".parse().unwrap()]),
post_announce_jobs: Some(vec!["./post-announce-job".parse().unwrap()]),
},
github: Some(BoolOr::Bool(true)),
});
Expand Down Expand Up @@ -344,6 +334,5 @@ build-setup = "build-setup"

let toml_text = doc.to_string();
assert_eq!(expected, toml_text);

}
}

0 comments on commit 2fb962e

Please sign in to comment.