Update to new rustdoc APIs

This commit is contained in:
Guillaume Gomez
2021-01-22 21:17:32 +01:00
parent 6a36b3f49d
commit d98a72c77b
4 changed files with 4 additions and 8 deletions

View File

@@ -394,7 +394,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
_render_info: RenderInfo,
edition: Edition,
mut cache: Cache,
tcx: ty::TyCtxt<'tcx>,
tcx: TyCtxt<'tcx>,
) -> Result<(Self, clean::Crate), Error> {
// need to save a copy of the options for rendering the index page
let md_opts = options.clone();