Fix reference-to-reference clippy lints
Many functions took a reference as an argument: foo(bar: &type)
and then used: &bar in the code, a reference to a reference.
This has been automatically changed to make clippy happy.
Fixes: #71 (closed)
Signed-off-by: D.S. Ljungmark spider@skuggor.se
Edited by Spindel 🕷 Ljungmark