From a6425300fb537a3794b571f3b10c0ab54a27c1a8 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 15 Nov 2021 17:03:47 +0100 Subject: [PATCH] Fix documentation warning In wasm, the documentation eed to be repeated --- sixtyfps_runtime/corelib/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sixtyfps_runtime/corelib/tests.rs b/sixtyfps_runtime/corelib/tests.rs index 60a397f16..9db725a6a 100644 --- a/sixtyfps_runtime/corelib/tests.rs +++ b/sixtyfps_runtime/corelib/tests.rs @@ -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())) }