Skip to content

VDomGuard::get_mut_ref doesn't return a mutable reference #71

Description

@ogghostjelly

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
    }

   ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions