blob: e6ba0db93126cfd48f72a7e45d415ad3c167eeb8 (
plain) (
tree)
|
|
macro_rules! render {
($template:path) => {{
let mut buf = Vec::new();
$template(&mut buf).map(|()| buf)
}};
($template:path, $($arg:expr),* $(,)*) => {{
let mut buf = Vec::new();
$template(&mut buf, $($arg),*).map(|()| buf)
}};
}
|