Skip to content

Rewrite uses of .get().map(|foo| foo.root()) and .get().map(Root::from_rooted) to .get_rooted() #7929

Closed

Description

@jdm

There are a bunch of these that can be found with some searching like http://mxr.mozilla.org/servo/search?string=.get%28%29.map&find=&findi=&filter=root&hitlimit=&tree=servo . We are specifically interested in rewriting the ones that are calling .get() on MutNullableHeap values when they should really be calling .get_rooted() instead.

Activity

  1. added
    A-content/dom
    E-less-complex
    I-cleanup
    on Oct 8, 2015
  2. added
    C-assigned
    on Oct 8, 2015
  3. added a commit that references this issue on Oct 9, 2015
    96356a4
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

    A-content/domC-assignedE-less-complexI-cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions