rust-multihash
rust-multihash copied to clipboard
Copy slice instead of iterating in `wrap()`
digest.copy_from_slice(input_digest);
instead of
https://github.com/multiformats/rust-multihash/blob/c68638c9736284d0e52aacdcfc606e1d746db9ec/src/multihash.rs#L107-L111
This will stay open till https://github.com/rust-lang/rust/issues/57349
@mriise : will you take this?
@BigLep: this issue will likely stay open until the linked Rust issue if fixed (can be years).
(though we dont actually use lables for this repo lol)