Demote self to an (almost) regular argument and remove the env param.
Fixes #10667 and closes #10259.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user