diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-03-23 11:04:09 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-03-23 11:04:09 -0700 |
| commit | 68244fc521c91b5daba347a4160a884eab268e08 (patch) | |
| tree | 26e8ade96ed1ff2f0c6709b0668ee8b68e615cb0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c9ae35978c8520227b360830ff6971f2887c98a2 (diff) | |
| download | rust-68244fc521c91b5daba347a4160a884eab268e08.tar.gz rust-68244fc521c91b5daba347a4160a884eab268e08.zip | |
Remove unnecessary `Option` wrapping around `Crate.module`
I'm wondering if it was originally there so that we could `take` the module which enables `after_krate` to take an `&Crate`. However, the two impls of `after_krate` only use `Crate.name`, so we can pass just the name instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
