mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-25 09:02:46 +03:00
Hide the __wbindgen_if_not_std
macro from docs
This commit is contained in:
parent
ef807a8068
commit
0e2e826182
@ -487,12 +487,14 @@ pub mod __rt {
|
||||
pub extern crate std;
|
||||
|
||||
#[macro_export]
|
||||
#[doc(hidden)]
|
||||
#[cfg(feature = "std")]
|
||||
macro_rules! __wbindgen_if_not_std {
|
||||
($($i:item)*) => {};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
#[doc(hidden)]
|
||||
#[cfg(not(feature = "std"))]
|
||||
macro_rules! __wbindgen_if_not_std {
|
||||
($($i:item)*) => ($($i)*)
|
||||
|
Loading…
Reference in New Issue
Block a user