diff --git a/substrate/srml/support/src/debug.rs b/substrate/srml/support/src/debug.rs index 1c4e463bf1..b8c7457eb2 100644 --- a/substrate/srml/support/src/debug.rs +++ b/substrate/srml/support/src/debug.rs @@ -120,6 +120,12 @@ pub mod native { } /// Print out a formatted message. +/// +/// # Example +/// +/// ``` +/// srml_support::runtime_print!("my value is {}", 3); +/// ``` #[macro_export] macro_rules! runtime_print { ($($arg:tt)+) => {