mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 23:51:01 +00:00
Minor typos.
This commit is contained in:
@@ -72,7 +72,7 @@ impl Slicable for Digest {
|
|||||||
/// The block "body": A bunch of transactions.
|
/// The block "body": A bunch of transactions.
|
||||||
pub type Body = Vec<UncheckedTransaction>;
|
pub type Body = Vec<UncheckedTransaction>;
|
||||||
|
|
||||||
/// A Polkadot relay chain block.
|
/// A block on the chain.
|
||||||
#[derive(PartialEq, Eq, Clone)]
|
#[derive(PartialEq, Eq, Clone)]
|
||||||
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))]
|
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))]
|
||||||
pub struct Block {
|
pub struct Block {
|
||||||
@@ -98,9 +98,7 @@ impl Slicable for Block {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A relay chain block header.
|
/// Header for a block.
|
||||||
///
|
|
||||||
/// https://github.com/w3f/polkadot-spec/blob/master/spec.md#header
|
|
||||||
#[derive(PartialEq, Eq, Clone)]
|
#[derive(PartialEq, Eq, Clone)]
|
||||||
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))]
|
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))]
|
||||||
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
|
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Substrate Demo. If not, see <http://www.gnu.org/licenses/>.
|
// 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)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Substrate Demo. If not, see <http://www.gnu.org/licenses/>.
|
// along with Substrate Demo. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//! The Polkadot runtime.
|
//! The Substrate Demo runtime.
|
||||||
|
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
pub mod system;
|
pub mod system;
|
||||||
|
|||||||
Reference in New Issue
Block a user