Minor typos.

This commit is contained in:
Gav
2018-03-11 17:30:25 +01:00
parent 80a95d843c
commit 873b579726
3 changed files with 4 additions and 6 deletions
+2 -4
View File
@@ -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"))]
+1 -1
View File
@@ -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)]
+1 -1
View File
@@ -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;