diff --git a/srml/support/src/debug.rs b/srml/support/src/debug.rs index 1c4e463bf1234..b8c7457eb237c 100644 --- a/srml/support/src/debug.rs +++ b/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)+) => {