Fix all occurences needless_borrow
internally
#6931
Merged
needless_borrow
internally
#6931