Skip to content

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Aug 3, 2013

rvalues aren't going to be used anywhere but as the argument, so
there's no point in copying them. LLVM used to eliminate the copy
later, but why bother emitting it in the first place?

rvalues aren't going to be used anywhere but as the argument, so
there's no point in copying them. LLVM used to eliminate the copy
later, but why bother emitting it in the first place?
bors added a commit that referenced this pull request Aug 4, 2013
rvalues aren't going to be used anywhere but as the argument, so
there's no point in copying them. LLVM used to eliminate the copy
later, but why bother emitting it in the first place?
@bors bors closed this Aug 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 13, 2022
…, r=camsteffen

Improve documentation for `borrowed-box` lint

fixes rust-lang#8161

Updates documentation to elaborate more on how removing Box from a function parameter can generalize the function.

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants