Rewrite uses of .get().map(|foo| foo.root()) and .get().map(Root::from_rooted) to .get_rooted() #7929
Labels
A-content/dom
Interacting with the DOM from web content
C-assigned
There is someone working on resolving the issue
E-less-complex
Straightforward. Recommended for a new contributor.
I-cleanup
No impact; the issue is one of maintainability or tidiness.
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.The text was updated successfully, but these errors were encountered: