mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 22:14:30 +00:00
merge-fwf: F3 design-lint fixture: match PressPhase::Held { .. }
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ use crate::contract::Cx;
|
||||
|
||||
fn pressed(cx: &Cx<'_, Chip>) -> bool {
|
||||
let state: &PressState = cx.press();
|
||||
matches!(state.phase(), Some(PressPhase::Held))
|
||||
matches!(state.phase(), Some(PressPhase::Held { .. }))
|
||||
}
|
||||
|
||||
fn stack(scopes: &mut Stack) {
|
||||
|
||||
Reference in New Issue
Block a user