]> git.lizzy.rs Git - rust.git/commit
Use opt.take() instead of mem::replace(opt, None)
authorljedrz <ljedrz@gmail.com>
Mon, 29 Oct 2018 12:48:26 +0000 (13:48 +0100)
committerljedrz <ljedrz@gmail.com>
Mon, 29 Oct 2018 12:48:26 +0000 (13:48 +0100)
commit2203ec38cb7fc83122be94c4c269f775e6dedb67
tree99c710b89eae00e9b6a9a00db8238242937822c2
parent4e88b7363b7858960ccfd87326ece9d00bf4d973
Use opt.take() instead of mem::replace(opt, None)
src/librustc/ty/steal.rs
src/librustc_data_structures/tiny_list.rs
src/librustc_typeck/check/method/probe.rs