File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ pub struct Comparison {
414
414
impl Comparison {
415
415
/// Gets the previous commit before `a`
416
416
pub fn prev ( & self , master_commits : & [ collector:: MasterCommit ] ) -> Option < String > {
417
- prev_commit ( & self . a . artifact , master_commits) . map ( |c| c. parent_sha . clone ( ) )
417
+ prev_commit ( & self . a . artifact , master_commits) . map ( |c| c. sha . clone ( ) )
418
418
}
419
419
420
420
/// Determines if `a` and `b` are contiguous
@@ -437,7 +437,7 @@ impl Comparison {
437
437
438
438
/// Gets the sha of the next commit after `b`
439
439
pub fn next ( & self , master_commits : & [ collector:: MasterCommit ] ) -> Option < String > {
440
- next_commit ( & self . a . artifact , master_commits) . map ( |c| c. parent_sha . clone ( ) )
440
+ next_commit ( & self . b . artifact , master_commits) . map ( |c| c. sha . clone ( ) )
441
441
}
442
442
443
443
fn get_benchmarks < ' a > ( & ' a self ) -> Vec < BenchmarkComparison < ' a > > {
You can’t perform that action at this time.
0 commit comments