Skip to content

Commit 8c64107

Browse files
committed
update return types
1 parent fb2c74f commit 8c64107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/render/search_index.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ pub(crate) fn get_function_type_for_search(
854854
generics: None,
855855
bindings: None,
856856
};
857-
(vec![input], vec![output], vec![])
857+
(vec![input], vec![output], vec![], vec![])
858858
}
859859
_ => return None,
860860
};
@@ -1374,10 +1374,10 @@ fn simplify_fn_constraint<'a>(
13741374
/// Used to allow type-based search on constants and statics.
13751375
fn make_nullary_fn(
13761376
clean_type: &clean::Type,
1377-
) -> (Vec<RenderType>, Vec<RenderType>, Vec<Vec<RenderType>>) {
1377+
) -> (Vec<RenderType>, Vec<RenderType>, Vec<Symbol>, Vec<Vec<RenderType>>) {
13781378
let mut rgen: FxIndexMap<SimplifiedParam, (isize, Vec<RenderType>)> = Default::default();
13791379
let output = get_index_type(clean_type, vec![], &mut rgen);
1380-
(vec![], vec![output], vec![])
1380+
(vec![], vec![output], vec![], vec![])
13811381
}
13821382

13831383
/// Return the full list of types when bounds have been resolved.

0 commit comments

Comments
 (0)