cargo fmt
This commit is contained in:
parent
536eae767a
commit
f9d47ab4f7
10
src/tree.rs
10
src/tree.rs
|
@ -46,7 +46,11 @@ impl Tree {
|
|||
}
|
||||
}
|
||||
|
||||
pub async fn make(base_branch: String, merge_status: &github::PullRequestStatus, nixpkgs: &Nixpkgs<'_>) -> Tree {
|
||||
pub async fn make(
|
||||
base_branch: String,
|
||||
merge_status: &github::PullRequestStatus,
|
||||
nixpkgs: &Nixpkgs<'_>,
|
||||
) -> Tree {
|
||||
let mut missing_means_absent = true;
|
||||
let mut branches = BTreeSet::new();
|
||||
|
||||
|
@ -59,8 +63,8 @@ impl Tree {
|
|||
if let Some(merge_commit) = merge_commit_oid {
|
||||
let mut containing_commits = BTreeSet::new();
|
||||
|
||||
if let Err(e) =
|
||||
nixpkgs.branches_containing_commit(&merge_commit, &mut containing_commits)
|
||||
if let Err(e) = nixpkgs
|
||||
.branches_containing_commit(&merge_commit, &mut containing_commits)
|
||||
.await
|
||||
{
|
||||
eprintln!("pr-tracker: branches_containing_commit: {}", e);
|
||||
|
|
Loading…
Reference in a new issue