Remove unnecessary expect
This commit is contained in:
parent
7b5d96c21e
commit
7bbba7414a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ fn main() {
|
|||
println!(
|
||||
"new cals: {}, max so far: {}",
|
||||
cur_cals,
|
||||
heap.peek().expect("Can't peek from heap!")
|
||||
heap.peek().unwrap()
|
||||
);
|
||||
cur_cals = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue