about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-15 15:01:48 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-15 15:34:20 +1000
commit65942d19cdb722db4544c4fcdcc0f054ff048701 (patch)
tree96e9c99503f3786c8fd8b830ec965db4c09f4813 /src/librustdoc/html/render/mod.rs
parent40978580ec3c4d6d32245e578979a745f310e9c3 (diff)
downloadrust-65942d19cdb722db4544c4fcdcc0f054ff048701.tar.gz
rust-65942d19cdb722db4544c4fcdcc0f054ff048701.zip
Avoid using `kw::Empty` for param names in rustdoc.
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 21c823f49d1..adf15018ad2 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -208,7 +208,7 @@ pub(crate) struct IndexItemFunctionType {
     inputs: Vec<RenderType>,
     output: Vec<RenderType>,
     where_clause: Vec<Vec<RenderType>>,
-    param_names: Vec<Symbol>,
+    param_names: Vec<Option<Symbol>>,
 }
 
 impl IndexItemFunctionType {