fix deprecated usage of panic (#8134)

This commit is contained in:
Guillaume Thiolliere
2021-02-16 19:02:53 +01:00
committed by GitHub
parent ed9c08dd01
commit f49aae65a8
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ pub enum PublicError {
/// Key that can be encoded to/from SS58.
///
/// See https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)#address-type
/// See <https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)#address-type>
/// for information on the codec.
#[cfg(feature = "full_crypto")]
pub trait Ss58Codec: Sized + AsMut<[u8]> + AsRef<[u8]> + Default {