summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorJoseph Ryan <josephryan3.14@gmail.com>2020-07-27 17:34:17 -0500
committerJoseph Ryan <josephryan3.14@gmail.com>2020-07-27 17:34:17 -0500
commitcee8023c690158daf4f6c3d8bf2d32297fdfed0c (patch)
tree7776fd4cb1a3d71cced4bc692c77cef14005c907 /src/librustdoc/html
parent3d707a008e0822471de4adad047b5cefd281f3ac (diff)
downloadrust-cee8023c690158daf4f6c3d8bf2d32297fdfed0c.tar.gz
rust-cee8023c690158daf4f6c3d8bf2d32297fdfed0c.zip
More requested changes
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/render/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 46c1b27986d..a6edb8ace33 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -228,7 +228,7 @@ impl Serialize for IndexItem {
 
 /// A type used for the search index.
 #[derive(Debug)]
-pub struct RenderType {
+crate struct RenderType {
     ty: Option<DefId>,
     idx: Option<usize>,
     name: Option<String>,
@@ -259,7 +259,7 @@ impl Serialize for RenderType {
 
 /// A type used for the search index.
 #[derive(Debug)]
-pub struct Generic {
+crate struct Generic {
     name: String,
     defid: Option<DefId>,
     idx: Option<usize>,
@@ -313,7 +313,7 @@ impl Serialize for IndexItemFunctionType {
 }
 
 #[derive(Debug)]
-pub struct TypeWithKind {
+crate struct TypeWithKind {
     ty: RenderType,
     kind: TypeKind,
 }