From 51b40050039577c3c9544ba1d8b5853adb7bd68b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 31 Mar 2022 11:36:23 +0200 Subject: [PATCH] Update the eBNF to allow generics bracket to not be closed if it's EOF --- src/librustdoc/html/static/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/js/search.js b/src/librustdoc/html/static/js/search.js index 7a318cbfa45..a55c16a84ab 100644 --- a/src/librustdoc/html/static/js/search.js +++ b/src/librustdoc/html/static/js/search.js @@ -559,7 +559,7 @@ window.initSearch = function(rawSearchIndex) { * nonempty-arg-list-without-generics = *(type-sep) arg-without-generic * *(type-sep arg-without-generic) *(type-sep) * generics = OPEN-ANGLE-BRACKET [ nonempty-arg-list-without-generics ] *(type-sep) - * CLOSE-ANGLE-BRACKET + * CLOSE-ANGLE-BRACKET/EOF * return-args = RETURN-ARROW *(type-sep) nonempty-arg-list * * exact-search = [type-filter *WS COLON] [ RETURN-ARROW ] *WS QUOTE ident QUOTE [ generics ]