is_none_pattern

Function is_none_pattern 

Source
pub fn is_none_pattern(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool
Expand description

Checks if the pat is None.