Feat: move the rsx macro around

This commit is contained in:
Jonathan Kelley committed 2021-06-03 10:42:28 -04:00
1 parent 1919f88f03
commit 50c8b93aad
23 files changed
+886 -617

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
use crate::{rsxt::RsxRender, util::is_valid_svg_tag};
use crate::{rsx::RsxRender, util::is_valid_svg_tag};
use {
proc_macro::TokenStream,
@@ -35,7 +35,7 @@ impl Parse for RsxTemplate {
let lit = LitStr::new(&value, lit.span());
// panic!("{:#?}", lit);
match lit.parse::<crate::rsxt::RsxRender>() {
match lit.parse::<crate::rsx::RsxRender>() {
Ok(r) => Ok(Self { inner: r }),
Err(e) => Err(e),
}