File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3858,19 +3858,15 @@ fn should_render_item(item: &clean::Item, deref_mut_: bool) -> bool {
3858
3858
}
3859
3859
3860
3860
fn render_spotlight_traits ( item : & clean:: Item ) -> String {
3861
- let mut out = String :: new ( ) ;
3862
-
3863
3861
match item. inner {
3864
3862
clean:: FunctionItem ( clean:: Function { ref decl, .. } ) |
3865
3863
clean:: TyMethodItem ( clean:: TyMethod { ref decl, .. } ) |
3866
3864
clean:: MethodItem ( clean:: Method { ref decl, .. } ) |
3867
3865
clean:: ForeignFunctionItem ( clean:: Function { ref decl, .. } ) => {
3868
- out = spotlight_decl ( decl) ;
3866
+ spotlight_decl ( decl)
3869
3867
}
3870
- _ => { }
3868
+ _ => String :: new ( )
3871
3869
}
3872
-
3873
- out
3874
3870
}
3875
3871
3876
3872
fn spotlight_decl ( decl : & clean:: FnDecl ) -> String {
You can’t perform that action at this time.
0 commit comments