• D
    Rollup merge of #83415 - camelid:remove-crate-module-option, r=jyn514 · 5c0d880e
    Dylan DPC 提交于
    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.
    5c0d880e
mod.rs 9.2 KB