no-single-binding-match Prefer direct evaluation over a match with one irrefutable arm A match with one unguarded binding arm accepts every value and performs no selection. Instead, you SHOULD bind the value directly in a do expression. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function double(value: int32): int32 { return match (value) { matched => matched * 2 }; } Accepted function double(value: int32): int32 { return do { const matched = value; matched * 2 }; } Prior art - Clippy ยท matchsinglebinding language/linter/src/rules/style/nosinglebindingmatch.rs:8