Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix docs (#13709)
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy authored Mar 24, 2023
1 parent e87f7ac commit a3df63e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion primitives/application-crypto/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ use codec::Codec;
use sp_core::crypto::{CryptoType, CryptoTypeId, IsWrappedBy, KeyTypeId, Public};
use sp_std::{fmt::Debug, vec::Vec};

/// An application-specific key.
/// An application-specific cryptographic object.
///
/// Combines all the core types and constants that are defined by a particular
/// cryptographic scheme when it is used in a specific application domain.
///
/// Typically, the implementers of this trait are its associated types themselves.
/// This provides a convenient way to access generic information about the scheme
/// given any of the associated types.
pub trait AppCrypto: 'static + Send + Sync + Sized + CryptoType + Clone {
/// Identifier for application-specific key type.
const ID: KeyTypeId;
Expand Down

0 comments on commit a3df63e

Please sign in to comment.