Skip to content

Commit 51b4005

Browse files
Update the eBNF to allow generics bracket to not be closed if it's EOF
1 parent e03a950 commit 51b4005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ window.initSearch = function(rawSearchIndex) {
559559
* nonempty-arg-list-without-generics = *(type-sep) arg-without-generic
560560
* *(type-sep arg-without-generic) *(type-sep)
561561
* generics = OPEN-ANGLE-BRACKET [ nonempty-arg-list-without-generics ] *(type-sep)
562-
* CLOSE-ANGLE-BRACKET
562+
* CLOSE-ANGLE-BRACKET/EOF
563563
* return-args = RETURN-ARROW *(type-sep) nonempty-arg-list
564564
*
565565
* exact-search = [type-filter *WS COLON] [ RETURN-ARROW ] *WS QUOTE ident QUOTE [ generics ]

0 commit comments

Comments
 (0)