fix: avoid copying digests where possible
fix: avoid copying digests where possible

Sometimes the compiler can optimize this, but there's this code isn't
any more complicated.

Dignifiedquire/rust-multihash