Skip to content
Myr

Fix warnings

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 6b8fa5f · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/benchmark/relative_speed.rs+2 added-2 removed
96 unmodified lines
9798pub fn compute_with_check(99 results: &[BenchmarkResult],100 sort_order: SortOrder,101) -> Option<Vec<BenchmarkResultWithRelativeSpeed>> {101) -> Option<Vec<BenchmarkResultWithRelativeSpeed<'_>>> {102 let fastest = fastest_of(results);103104 if fastest.mean == 0.0 {105 return None;
5 unmodified lines
111/// Same as compute_with_check, potentially resulting in relative speeds of infinity112pub fn compute(113 results: &[BenchmarkResult],114 sort_order: SortOrder,115) -> Vec<BenchmarkResultWithRelativeSpeed> {115) -> Vec<BenchmarkResultWithRelativeSpeed<'_>> {116 let fastest = fastest_of(results);117118 compute_relative_speeds(results, fastest, sort_order)119}
61 unmodified lines