Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/vdom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ impl VDomGuard {
/// Returns a mutable reference to the inner DOM.
///
/// The lifetime of the returned `VDom` is bound to self so that elements cannot outlive this `VDomGuard` struct.
pub fn get_mut_ref<'a, 'b: 'a>(&'b mut self) -> &'b VDom<'a> {
pub fn get_mut_ref(&mut self) -> &mut VDom<'static>
{
&mut self.dom
}
}
Expand Down