diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index b4aba2993c7..54c0cd2ef7f 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -1459,7 +1459,7 @@ fn inner_full_print( Ok(()) } - pub(crate) fn print_output<'a, 'tcx: 'a>( + fn print_output<'a, 'tcx: 'a>( &'a self, cx: &'a Context<'tcx>, ) -> impl fmt::Display + 'a + Captures<'tcx> {