fix hot reloading rsx with nested rsx calls

This commit is contained in:
Evan Almloff committed 2022-12-22 16:38:07 -06:00
1 parent 21ca1599eb
commit 1530445972
5 files changed
+59 -10

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ pub struct IfmtInput {
impl IfmtInput {
pub fn is_static(&self) -> bool {
matches!(self.segments.as_slice(), &[Segment::Literal(_)])
matches!(self.segments.as_slice(), &[Segment::Literal(_)] | &[])
}
}