about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorOliver Downard <odownard.trade@gmail.com>2022-03-14 21:07:19 +0000
committerOliver Downard <odownard.trade@gmail.com>2022-04-03 16:38:57 +0100
commite2dfa23eac2586623bc12a9e43683b9a50874c0b (patch)
treef75ef8894ced6dcd2fdc02fd663259d24cbe5b01 /src/librustdoc/html/static/js/source-script.js
parent15a242a432c9c40a60def102209a5d40900b7b9d (diff)
downloadrust-e2dfa23eac2586623bc12a9e43683b9a50874c0b.tar.gz
rust-e2dfa23eac2586623bc12a9e43683b9a50874c0b.zip
Improve method name suggestions
Attempts to improve method name suggestions when a matching method name
is not found. The approach taken is use the Levenshtein distance and
account for substrings having a high distance but can sometimes be very
close to the intended method (eg. empty vs is_empty).
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions