mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-20 14:41:21 +00:00
Fix bad panic message
This commit is contained in:
parent
ab209edfb3
commit
d6028cd5de
@ -448,7 +448,7 @@ impl<T> Decoder for VarintCodec<T> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
VarintCodecInner::Poisonned => {
|
VarintCodecInner::Poisonned => {
|
||||||
panic!("Poisonned decoder")
|
panic!("varint codec was poisoned")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user