From 625d697e260d23506b18216fa717d88b013e9ca7 Mon Sep 17 00:00:00 2001 From: yjh <yjh465402634@gmail.com> Date: Sat, 12 Oct 2019 17:32:29 +0800 Subject: [PATCH] fix comments (#3808) Signed-off-by: yjhmelody <465402634@qq.com> --- substrate/core/sr-primitives/src/traits.rs | 2 +- substrate/srml/system/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/core/sr-primitives/src/traits.rs b/substrate/core/sr-primitives/src/traits.rs index 10c2e806584..f94a71d38a6 100644 --- a/substrate/core/sr-primitives/src/traits.rs +++ b/substrate/core/sr-primitives/src/traits.rs @@ -611,7 +611,7 @@ pub trait IsMember<MemberId> { } /// Something which fulfills the abstract idea of a Substrate header. It has types for a `Number`, -/// a `Hash` and a `Digest`. It provides access to an `extrinsics_root`, `state_root` and +/// a `Hash` and a `Hashing`. It provides access to an `extrinsics_root`, `state_root` and /// `parent_hash`, as well as a `digest` and a block `number`. /// /// You can also create a `new` one from those fields. diff --git a/substrate/srml/system/src/lib.rs b/substrate/srml/system/src/lib.rs index 7c90f21240a..71c99af3b32 100644 --- a/substrate/srml/system/src/lib.rs +++ b/substrate/srml/system/src/lib.rs @@ -48,7 +48,7 @@ //! //! - [`CheckWeight`]: Checks the weight and length of the block and ensure that it does not //! exceed the limits. -//! - ['CheckNonce']: Checks the nonce of the transaction. Contains a single payload of type +//! - [`CheckNonce`]: Checks the nonce of the transaction. Contains a single payload of type //! `T::Index`. //! - [`CheckEra`]: Checks the era of the transaction. Contains a single payload of type `Era`. //! - [`CheckGenesis`]: Checks the provided genesis hash of the transaction. Must be a part of the -- GitLab