Fix bad panic message

This commit is contained in:
Pierre Krieger 2018-01-15 13:26:08 +01:00
parent ab209edfb3
commit d6028cd5de
No known key found for this signature in database
GPG Key ID: A03CE3AD81F08F7C

View File

@ -448,7 +448,7 @@ impl<T> Decoder for VarintCodec<T> {
}
},
VarintCodecInner::Poisonned => {
panic!("Poisonned decoder")
panic!("varint codec was poisoned")
},
}
}