Skip to content

Commit 2338edd

Browse files
author
Gianmarco Garrisi
committed
Prepare for edition
1 parent fb08026 commit 2338edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,12 @@ impl<I, P, H> Store<I, P, H> {
302302
}
303303

304304
#[inline(always)]
305-
pub unsafe fn get_priority_from_position(&self, position: Position) -> &P {
305+
pub unsafe fn get_priority_from_position(&self, position: Position) -> &P { unsafe {
306306
self.map
307307
.get_index(self.heap.get_unchecked(position.0).0)
308308
.unwrap()
309309
.1
310-
}
310+
}}
311311
}
312312

313313
impl<I, P, H> Store<I, P, H>

0 commit comments

Comments
 (0)