about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2023-06-29 03:29:34 +0900
committerGitHub <noreply@github.com>2023-06-29 03:29:34 +0900
commit8a5272cb37eeb3388ccdb0089e62512432c0b431 (patch)
tree7c16e176573481ae4cfb7754c2f4618a82a75d42 /src/librustdoc
parent74d6958297839143535a9aa9bb61c7604c6b0c9f (diff)
parent13ff41eda363a997502810f08690cc889080e29d (diff)
downloadrust-8a5272cb37eeb3388ccdb0089e62512432c0b431.tar.gz
rust-8a5272cb37eeb3388ccdb0089e62512432c0b431.zip
Rollup merge of #113119 - aDotInTheVoid:reduce-viz, r=notriddle
rustdoc: Reduce internal function visibility.

As suggested [here](https://github.com/rust-lang/rust/pull/112113/files/1862fcb1df05b116443ad3b27028616a180ffadb#r1211200570).
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/html/format.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ impl clean::FnDecl {
         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> {