Fix clippy borrow errors
Most are references that are borrowed then immediately dereferenced There's also a couple of unwraps that had function calls inside them
Most are references that are borrowed then immediately dereferenced There's also a couple of unwraps that had function calls inside them