mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Fix documentation warning
In wasm, the documentation eed to be repeated
This commit is contained in:
parent
b29b2cfaea
commit
a6425300fb
1 changed files with 2 additions and 0 deletions
|
@ -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()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue