pub fn arm_contains_ref_binding(arm: &hir::Arm) -> Option<hir::Mutability> {
    arm.pats.iter()
            .filter_map(|pat| pat_contains_ref_binding(pat))
            .max_by_key(|m| match *m {
                hir::MutMutable => 1,
                hir::MutImmutable => 0,
            })
}
/// Checks if the patterns for this arm contain any `ref` or `ref mut`
/// bindings, and if yes whether its containing mutable ones or just immutables ones.
Checks if the patterns for this arm contain any `ref` or `ref mut`
bindings, and if yes whether its containing mutable ones or just immutables ones.
Checks if the patterns for this arm contain any ` ref ` or ` ref mut ` bindings and if yes whether its containing mutable ones or just immutables ones .
pub fn arm_contains_ref_binding(arm: &hir::Arm) -> Option<hir::Mutability> {
    arm.pats.iter()
            .filter_map(|pat| pat_contains_ref_binding(pat))
            .max_by_key(|m| match *m {
                hir::MutMutable => 1,
                hir::MutImmutable => 0,
            })
}
pub fn arm_contains_ref_binding ( arm : & hir :: Arm ) -> Option < hir :: Mutability > { arm . pats . iter ( ) . filter_map ( | pat | pat_contains_ref_binding ( pat ) ) . max_by_key ( | m | match * m { hir :: MutMutable => 1 , hir :: MutImmutable => 0 , } ) }
Checks if the patterns for this arm contain any `ref` or `ref mut`
bindings, and if yes whether its containing mutable ones or just immutables ones.
Checks if the patterns for this arm contain any ` ref ` or ` ref mut ` bindings and if yes whether its containing mutable ones or just immutables ones .
arm
&hir::Arm
arm
&hir::Arm