mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-05 14:11:20 +00:00
`NetworkBehaviour::inject_dial_failure` expects a reference for the error, thus the error should not be cloned when passing it to the inner behaviours in the `NetworkBehaviour` derivation. Fixes Issue #2348.