Skip to content

Commit 6dcf69c

Browse files
committed
[refactor] replace unwrap with expect
1 parent 6f21ccf commit 6dcf69c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ impl<const C: usize, const R: usize, const L: usize, T: 'static, K: 'static + Co
373373
activation_layers,
374374
target_layer,
375375
})
376-
.unwrap();
376+
.expect("there should be not more tri-layers than layers overall");
377377
}
378378

379379
/// Iterates on the key codes of the current state.

0 commit comments

Comments
 (0)