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
    }

   ...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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