Merge pull request #847 from alexcrichton/fix-window

Move all methods on `Window` back to methods
This commit is contained in:
Alex Crichton
2018-09-18 16:59:46 -07:00
committed by GitHub
23 changed files with 157 additions and 148 deletions

View File

@ -772,9 +772,6 @@ impl TryToTokens for ast::ImportFunction {
}
class_ty = Some(ty);
}
ast::ImportFunctionKind::ScopedMethod { ref ty, .. } => {
class_ty = Some(ty);
}
ast::ImportFunctionKind::Normal => {}
}
let vis = &self.function.rust_vis;