diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-03-23 17:26:32 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-04-18 20:59:09 +0200 |
| commit | 8e29ed43d9943b2cf705e3511e54ba01d2feaa93 (patch) | |
| tree | 3aa1edd8d84885ed20d6e8c98652de8c2bde6f26 /src/tools/rustdoc-js | |
| parent | f9251eef688590cd4770baaa01241bbb060c2eba (diff) | |
| download | rust-8e29ed43d9943b2cf705e3511e54ba01d2feaa93.tar.gz rust-8e29ed43d9943b2cf705e3511e54ba01d2feaa93.zip | |
Add isIdentCharacter function to ensure that unexpected characters are handled correctly
Diffstat (limited to 'src/tools/rustdoc-js')
| -rw-r--r-- | src/tools/rustdoc-js/tester.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/rustdoc-js/tester.js b/src/tools/rustdoc-js/tester.js index afd878423c0..d5209089892 100644 --- a/src/tools/rustdoc-js/tester.js +++ b/src/tools/rustdoc-js/tester.js @@ -274,7 +274,8 @@ function loadSearchJsAndIndex(searchJs, searchIndex, storageJs, crate) { "isWhitespace", "isSpecialStartCharacter", "isStopCharacter", "parseInput", "getItemsBefore", "getNextElem", "createQueryElement", "isReturnArrow", "isPathStart", "getStringElem", "newParsedQuery", - "itemTypeFromName", "isEndCharacter", "isErrorCharacter"]; + "itemTypeFromName", "isEndCharacter", "isErrorCharacter", + "isIdentCharacter"]; const functions = ["hasOwnPropertyRustdoc", "onEach"]; ALIASES = {}; |
