From 873b57972645f08c96191eb7ad990ee5072bdf24 Mon Sep 17 00:00:00 2001 From: Gav <gavin@parity.io> Date: Sun, 11 Mar 2018 17:30:25 +0100 Subject: [PATCH] Minor typos. --- substrate/demo/primitives/src/block.rs | 6 ++---- substrate/demo/primitives/src/lib.rs | 2 +- substrate/demo/runtime/src/runtime/mod.rs | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/substrate/demo/primitives/src/block.rs b/substrate/demo/primitives/src/block.rs index 4d61fb03584..4183498fc74 100644 --- a/substrate/demo/primitives/src/block.rs +++ b/substrate/demo/primitives/src/block.rs @@ -72,7 +72,7 @@ impl Slicable for Digest { /// The block "body": A bunch of transactions. pub type Body = Vec<UncheckedTransaction>; -/// A Polkadot relay chain block. +/// A block on the chain. #[derive(PartialEq, Eq, Clone)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))] pub struct Block { @@ -98,9 +98,7 @@ impl Slicable for Block { } } -/// A relay chain block header. -/// -/// https://github.com/w3f/polkadot-spec/blob/master/spec.md#header +/// Header for a block. #[derive(PartialEq, Eq, Clone)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] diff --git a/substrate/demo/primitives/src/lib.rs b/substrate/demo/primitives/src/lib.rs index d47cd35cadd..b0b9837de55 100644 --- a/substrate/demo/primitives/src/lib.rs +++ b/substrate/demo/primitives/src/lib.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Substrate Demo. If not, see <http://www.gnu.org/licenses/>. -//! Shareable Polkadot types. +//! Low-level types used throughout the Substrate Demo code. #![warn(missing_docs)] diff --git a/substrate/demo/runtime/src/runtime/mod.rs b/substrate/demo/runtime/src/runtime/mod.rs index e52e49c8aa1..bba91af86d7 100644 --- a/substrate/demo/runtime/src/runtime/mod.rs +++ b/substrate/demo/runtime/src/runtime/mod.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Substrate Demo. If not, see <http://www.gnu.org/licenses/>. -//! The Polkadot runtime. +//! The Substrate Demo runtime. #[allow(unused)] pub mod system; -- GitLab