simplifying min and max calculation for profiler get_statistics function

This commit is contained in:
Malisa Smith 2016-07-07 13:08:20 -07:00
parent 7dccf09ff6
commit e1092b8b1d
2 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,7 @@ fn time_profiler_stats_test() {
assert_eq!(13.2599, odd_max);
}
#[cfg(debug)]
#[cfg(debug_assertions)]
#[test]
#[should_panic]
fn time_profiler_unsorted_stats_test() {