Auto merge of #7462 - hbina:redundant_borrow, r=ehuss
Auto merge of #7462 - hbina:redundant_borrow, r=ehuss

Removed redundant borrow

As described here https://rust-lang.github.io/rust-clippy/master/#needless_borrow.
rust-clippy is complaining that the related borrows are unnecessary.

rustyhorde/cargo,rust-lang/cargo,tshepang/cargo,rust-lang/cargo,tshepang/cargo,rust-lang/cargo,tsurai/cargo,vojtechkral/cargo,vojtechkral/cargo,vojtechkral/cargo,nipunn1313/cargo,tshepang/cargo,nipunn1313/cargo,rust-lang/cargo,eminence/cargo,tsurai/cargo,rustyhorde/cargo,rustyhorde/cargo,tsurai/cargo,vojtechkral/cargo,tsurai/cargo,tsurai/cargo,tshepang/cargo,nipunn1313/cargo,rustyhorde/cargo,eminence/cargo,nipunn1313/cargo,eminence/cargo,eminence/cargo