Fix documentation warning

In wasm, the documentation eed to be repeated
This commit is contained in:
Olivier Goffart 2021-11-15 17:03:47 +01:00
parent b29b2cfaea
commit a6425300fb

View file

@ -98,6 +98,8 @@ cfg_if::cfg_if! {
}
#[macro_export]
/// This macro allows producing debug output that will appear on stderr in regular builds
/// and in the console log for wasm builds.
macro_rules! debug_log {
($($t:tt)*) => ($crate::tests::log(&format_args!($($t)*).to_string()))
}