Remove unused KeyType from DcKey trait

It always equals Self.
This commit is contained in:
link2xt
2023-01-04 14:45:05 +00:00
parent 9ed933f835
commit 2b4e32d2cf
2 changed files with 9 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ where
impl<T> Keyring<T>
where
T: DcKey<KeyType = T>,
T: DcKey,
{
/// New empty keyring.
pub fn new() -> Keyring<T> {