Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
doc (#3995)
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1117 authored and andresilva committed Nov 2, 2019
1 parent ec7c6cf commit 0718683
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions srml/support/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)+) => {
Expand Down

0 comments on commit 0718683

Please sign in to comment.