Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timokroeger committed May 13, 2024
1 parent 2508d59 commit 90223e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtual_keyboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl VirtualKeyboard {
// Check for cycles and find the base layer.
let base_layer = *algo::toposort(&layer_graph, None)
.expect("Cycle in layer graph")
.get(0)
.first()
.unwrap_or(&NodeIndex::new(0));

Self {
Expand Down

0 comments on commit 90223e9

Please sign in to comment.