pub fn can_mut_borrow_both(
cx: &LateContext<'_>,
e1: &Expr<'_>,
e2: &Expr<'_>,
) -> bool
Expand description
Checks if two expressions can be mutably borrowed simultaneously and they aren’t dependent on borrowing same thing twice
pub fn can_mut_borrow_both(
cx: &LateContext<'_>,
e1: &Expr<'_>,
e2: &Expr<'_>,
) -> bool
Checks if two expressions can be mutably borrowed simultaneously and they aren’t dependent on borrowing same thing twice