merge_base_of no longer takes open_pulls's doc comment
This commit is contained in:
parent
f0d93cd0fe
commit
9bbb28731a
1 changed files with 2 additions and 2 deletions
|
|
@ -105,8 +105,6 @@ pub struct OpenPull {
|
|||
pub head_sha: Option<String>,
|
||||
}
|
||||
|
||||
/// `pulls` as the dropdown's rows, newest (highest number) first. A PR
|
||||
/// without a usable number cannot be named, so it is left out.
|
||||
/// The merge base of a PR's head and base branch, read off its commits (the
|
||||
/// forge lists them from the current head and base): the one parent that is
|
||||
/// not itself a PR commit. `None` when the PR has no commits or its commits
|
||||
|
|
@ -130,6 +128,8 @@ fn merge_base_of(commits: &[forgejo_api::structs::Commit]) -> Option<String> {
|
|||
}
|
||||
}
|
||||
|
||||
/// `pulls` as the dropdown's rows, newest (highest number) first. A PR
|
||||
/// without a usable number cannot be named, so it is left out.
|
||||
fn open_pulls(pulls: Vec<forgejo_api::structs::PullRequest>) -> Vec<OpenPull> {
|
||||
let mut rows: Vec<OpenPull> = pulls
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Reference in a new issue