Skip to content
Snippets Groups Projects
Commit 873b5797 authored by Gav's avatar Gav
Browse files

Minor typos.

parent 80a95d84
No related merge requests found
......@@ -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"))]
......
......@@ -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)]
......
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment