about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorKrishna Veera Reddy <veerareddy@email.arizona.edu>2019-12-07 19:10:06 -0800
committerKrishna Veera Reddy <veerareddy@email.arizona.edu>2019-12-31 09:22:34 -0800
commit8db319f9578aa4cc5647a187f92aa00a6f4ad335 (patch)
treec5b9e85a1c5e20b002aed01ad393e77514874abe /src/test/incremental/thinlto
parent99dd0bb653f5ec3767b899c939468512abef0f9c (diff)
downloadrust-8db319f9578aa4cc5647a187f92aa00a6f4ad335.tar.gz
rust-8db319f9578aa4cc5647a187f92aa00a6f4ad335.zip
Use `mem::take` instead of `mem::replace` when applicable
`std::mem::take` can be used to replace a value of type `T`
with `T::default()` instead of `std::mem::replace`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions