about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/mod.rs
diff options
context:
space:
mode:
authorunknown <abramlujan@gmail.com>2020-12-03 20:55:38 -0300
committerunknown <abramlujan@gmail.com>2020-12-03 20:55:38 -0300
commitaf9685bb1e7e27a7b21d9939a42c1e9dce8c4df5 (patch)
tree6e472ff046afd1fc091d3ac1998e2c9445df0554 /compiler/rustc_mir/src/transform/coverage/mod.rs
parent63a3c44060b9b06e10e7a854abcdbb853f6938c3 (diff)
downloadrust-af9685bb1e7e27a7b21d9939a42c1e9dce8c4df5.tar.gz
rust-af9685bb1e7e27a7b21d9939a42c1e9dce8c4df5.zip
Rename unsafe_sizeof_count_copies to size_of_in_element_count
Also fix review comments:
 - Use const arrays and iterate them for the method/function names
 - merge 2 if_chain's into one using a rest pattern
 - remove unnecessary unsafe block in test

And make the lint only point to the count expression instead of the entire function call
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions