tl icon indicating copy to clipboard operation
tl copied to clipboard

`VDomGuard::get_mut_ref` doesn't return a mutable reference

Open ogghostjelly opened this issue 9 months ago • 0 comments

The VDomGuard::get_mut_ref method seems like it was suppose to return a mutable reference but instead it returns an immutable one.

impl VDomGuard {
    // this should return `&mut VDom` but doesn't!
    pub fn get_mut_ref(&mut self) -> &VDom {
        &mut self.dom
    }

   ...
}

ogghostjelly avatar Mar 14 '25 03:03 ogghostjelly