about summary refs log tree commit diff
path: root/tests/rustdoc-js-std
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-28 21:54:09 -0700
committerMichael Howell <michael@notriddle.com>2023-01-21 00:11:39 -0700
commite09e6df787df074becd7b1b5b1138f517dd788d5 (patch)
tree6844ba62fb6cc2d9edcb468ac5d9bffe1ba7660a /tests/rustdoc-js-std
parent5ce39f42bd2c8bca9c570f0560ebe1fce4eddb14 (diff)
downloadrust-e09e6df787df074becd7b1b5b1138f517dd788d5.tar.gz
rust-e09e6df787df074becd7b1b5b1138f517dd788d5.zip
rustdoc: compute maximum Levenshtein distance based on the query
The heuristic is pretty close to the name resolver.

Fixes #103357
Diffstat (limited to 'tests/rustdoc-js-std')
-rw-r--r--tests/rustdoc-js-std/typed-query.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/rustdoc-js-std/typed-query.js b/tests/rustdoc-js-std/typed-query.js
index fd5c5489d79..9d7e73a7999 100644
--- a/tests/rustdoc-js-std/typed-query.js
+++ b/tests/rustdoc-js-std/typed-query.js
@@ -10,8 +10,5 @@ const EXPECTED = {
         { 'path': 'std', 'name': 'eprint' },
         { 'path': 'std', 'name': 'eprintln' },
         { 'path': 'std::pin', 'name': 'pin' },
-        { 'path': 'std::future', 'name': 'join' },
-        { 'path': 'std', 'name': 'line' },
-        { 'path': 'std', 'name': 'write' },
     ],
 };