fix ligature (#4497)

This commit is contained in:
Weiliang Li
2019-12-25 17:01:17 +09:00
committed by Bastian Köcher
parent fe587c72ec
commit 5431f09a4e
2 changed files with 2 additions and 2 deletions
@@ -71,7 +71,7 @@ pub trait AppPublic:
#[cfg(feature = "full_crypto")]
pub trait AppPair: AppKey + Pair<Public=<Self as AppKey>::Public> {
/// The wrapped type which is just a plain instance of `Pair`.
type Generic: IsWrappedBy<Self> + Pair<Public=<<Self as AppKey>::Public as AppPublic>::Generic>;
type Generic: IsWrappedBy<Self> + Pair<Public = <<Self as AppKey>::Public as AppPublic>::Generic>;
}
/// A application's signature.
+1 -1
View File
@@ -117,7 +117,7 @@ pub trait AppVerify {
}
impl<
S: Verify<Signer=<<T as AppKey>::Public as sp_application_crypto::AppPublic>::Generic> + From<T>,
S: Verify<Signer = <<T as AppKey>::Public as sp_application_crypto::AppPublic>::Generic> + From<T>,
T: sp_application_crypto::Wraps<Inner=S> + sp_application_crypto::AppKey + sp_application_crypto::AppSignature +
AsRef<S> + AsMut<S> + From<S>,
> AppVerify for T where