Skip to content

Commit

Permalink
Fix Kixiron/lasso Kixiron#47
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanshade committed May 22, 2024
1 parent 7405c88 commit 572e0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ macro_rules! index_unchecked {
let elem: &_ = if cfg!(debug_assertions) {
$slice[$idx]
} else {
$slice.get_unchecked($idx)
*$slice.get_unchecked($idx)
};

elem
Expand Down

0 comments on commit 572e0c3

Please sign in to comment.