1
Fork 0

Demote self to an (almost) regular argument and remove the env param.

Fixes #10667 and closes #10259.
This commit is contained in:
Eduard Burtescu 2014-01-27 14:18:36 +02:00
parent b0280ac538
commit 15ba0c310a
88 changed files with 1437 additions and 2139 deletions

View file

@ -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