Unnecessary cloning in perform_annotated_read_operation #6753
Labels
A-content/dom
Interacting with the DOM from web content
E-less-complex
Straightforward. Recommended for a new contributor.
There's no need for this cloning, since we're just moving the values immediately. I think we can just remove the variables entirely and use
readdata.whatever
when necessary.Code: components/script/dom/filereader.rs
The text was updated successfully, but these errors were encountered: