Demote self to an (almost) regular argument and remove the env param.
Fixes #10667 and closes #10259.
This commit is contained in:
parent
b0280ac538
commit
15ba0c310a
88 changed files with 1437 additions and 2139 deletions
|
@ -682,7 +682,7 @@ impl Context {
|
|||
///
|
||||
/// This currently isn't parallelized, but it'd be pretty easy to add
|
||||
/// parallelization to this function.
|
||||
fn crate(mut self, mut crate: clean::Crate, cache: Cache) {
|
||||
fn crate(self, mut crate: clean::Crate, cache: Cache) {
|
||||
let mut item = match crate.module.take() {
|
||||
Some(i) => i,
|
||||
None => return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue