rust-clippy/tests
bors fa9b85d4df Auto merge of #4881 - krishna-veerareddy:issue-4871-use-mem-take, r=flip1995
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`.

Fixes issue #4871

changelog: Added lint for [`mem_replace_with_default`]
2020-01-04 08:09:43 +00:00
..
auxiliary Remove all copyright license headers 2019-01-08 21:46:39 +01:00
ui Auto merge of #4881 - krishna-veerareddy:issue-4871-use-mem-take, r=flip1995 2020-01-04 08:09:43 +00:00
ui-toml Add new lint: large stack array 2019-11-13 21:44:29 +03:00
compile-test.rs Rustup to rustc 1.41.0-nightly (a0d40f8bd 2019-11-18) 2019-11-18 23:49:58 -08:00
dogfood.rs tests: dogfood: run tests with debuginfo=0 reducing dogfood target dir size even further. 2019-09-11 21:29:07 +02:00
fmt.rs a few small cleanups 2019-12-23 05:28:23 +07:00
integration.rs do minor cleanups 2019-12-24 03:06:52 +07:00
matches.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
missing-test-files.rs cargo fmt 2019-06-21 16:47:34 +02:00
needless_continue_helpers.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
versioncheck.rs test(versioncheck): Use .no_deps() 2019-01-25 21:53:44 +01:00