about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/graph.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-04 20:01:12 +0900
committerGitHub <noreply@github.com>2021-03-04 20:01:12 +0900
commit06630f7b5f6eb356e1d36a59d47d63759aec61eb (patch)
treeec2035416d62d8c24521fc4fc50bf31e6d70dea8 /compiler/rustc_mir/src/transform/coverage/graph.rs
parent17121f2959ea3735c041c74b5959f9e7c4f84f03 (diff)
parentc79af862401465a7241e6920ba31f34adafa44fd (diff)
downloadrust-06630f7b5f6eb356e1d36a59d47d63759aec61eb.tar.gz
rust-06630f7b5f6eb356e1d36a59d47d63759aec61eb.zip
Rollup merge of #82744 - camelid:cratenum-byval, r=GuillaumeGomez
Pass `CrateNum` by value instead of by reference

It's more idiomatic to pass a small Copy type by value and `CrateNum` is
half the size of `&CrateNum` on 64-bit systems. The memory use change is
almost certainly insignificant, but why not!
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions