Fixing build errors
This commit is contained in:
parent
d6917cda84
commit
e5957b7831
|
@ -527,7 +527,7 @@ impl<A> DomBuilder<A> where A: AsRef<Node> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn text(self, value: &str) -> Self {
|
pub fn text(mut self, value: &str) -> Self {
|
||||||
self.check_children();
|
self.check_children();
|
||||||
self.element.as_ref().set_text_content(Some(value));
|
self.element.as_ref().set_text_content(Some(value));
|
||||||
self
|
self
|
||||||
|
@ -546,7 +546,7 @@ impl<A> DomBuilder<A> where A: AsRef<Node> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn text_signal<B, C>(self, value: C) -> Self
|
pub fn text_signal<B, C>(mut self, value: C) -> Self
|
||||||
where B: AsStr,
|
where B: AsStr,
|
||||||
C: Signal<Item = B> + 'static {
|
C: Signal<Item = B> + 'static {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue