From b3d16c94429ff071e92bbfd6690f78f44ade1be3 Mon Sep 17 00:00:00 2001
From: Squirrel <gilescope@gmail.com>
Date: Fri, 23 Jul 2021 10:15:39 +0100
Subject: [PATCH] example typo (#9416)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Think these types should be switched reading the doc.

* Update frame/support/procedural/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
---
 substrate/frame/support/procedural/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/substrate/frame/support/procedural/src/lib.rs b/substrate/frame/support/procedural/src/lib.rs
index ab9ea156347..a59ae67851e 100644
--- a/substrate/frame/support/procedural/src/lib.rs
+++ b/substrate/frame/support/procedural/src/lib.rs
@@ -289,7 +289,7 @@ pub fn decl_storage(input: TokenStream) -> TokenStream {
 /// construct_runtime!(
 ///     pub enum Runtime where
 ///         Block = Block,
-///         NodeBlock = runtime::Block,
+///         NodeBlock = node::Block,
 ///         UncheckedExtrinsic = UncheckedExtrinsic
 ///     {
 ///         System: system::{Pallet, Call, Event<T>, Config<T>} = 0,
-- 
GitLab