varlen/
doc_macro.rs

1#[cfg(feature = "doc")]
2macro_rules! make_svgbobdoc {
3    (
4        $($t:tt)*
5    ) => (
6        svgbobdoc::transform!(
7            $($t)*
8        )
9    )
10}
11
12#[cfg(not(feature = "doc"))]
13macro_rules! make_svgbobdoc {
14    (
15        $( #![doc = $d:literal] )*
16    ) => (
17        core::concat!( $( $d, '\n' ),* )
18    );
19    (
20        $( #[doc = $d:literal] )*
21    ) => (
22        core::concat!( $( $d, '\n' ),* )
23    );
24}
25
26pub(crate) use make_svgbobdoc;