rust/tests
Matthias Krüger afe257554c
Rollup merge of #109009 - notriddle:notriddle/edit-distance, r=GuillaumeGomez
rustdoc: use restricted Damerau-Levenshtein distance for search

Based on https://github.com/rust-lang/rust/pull/108200, for the same rationale.

> This replaces the existing Levenshtein algorithm with the Damerau-Levenshtein algorithm. This means that "ab" to "ba" is one change (a transposition) instead of two (a deletion and insertion). More specifically, this is a restricted implementation, in that "ca" to "abc" cannot be performed as "ca" → "ac" → "abc", as there is an insertion in the middle of a transposition. I believe that errors like that are sufficiently rare that it's not worth taking into account.

Before this change, searching [`prinltn!`] listed `print!` first, followed by `println!`. With this change, `println!` matches more closely.

[`prinltn!`]: https://doc.rust-lang.org/nightly/std/?search=prinltn!
2023-03-12 20:44:50 +01:00
..
assembly
auxiliary
codegen Auto merge of #108763 - scottmcm:indexing-nuw-lengths, r=cuviper 2023-03-07 13:17:59 +00:00
codegen-units
debuginfo
incremental
mir-opt Introduce a no-op PlaceMention statement for let _ =. 2023-03-09 17:45:13 +00:00
pretty
run-make Update coverage info. 2023-03-09 17:51:38 +00:00
run-make-fulldeps rustdoc: fix test case for custom themes 2023-03-08 12:49:35 -07:00
run-pass-valgrind
rustdoc Rollup merge of #108936 - GuillaumeGomez:rustdoc-anonymous-reexport, r=notriddle 2023-03-10 12:31:58 +01:00
rustdoc-gui Rollup merge of #106915 - notriddle:notriddle/load-only-one-theme, r=GuillaumeGomez,jsha 2023-03-09 12:11:52 +01:00
rustdoc-js rustdoc: function signature search with traits in where clause 2023-03-04 09:05:57 -07:00
rustdoc-js-std rustdoc: use restricted Damerau-Levenshtein distance for search 2023-03-10 19:47:08 -07:00
rustdoc-json
rustdoc-ui rustdoc: Don't crash on crate references in blocks 2023-03-10 17:49:13 +01:00
ui Forbid the use of #[target_feature] on start 2023-03-12 14:57:38 +01:00
ui-fulldeps Rollup merge of #108846 - celinval:smir-poc, r=oli-obk 2023-03-08 21:24:50 +01:00
COMPILER_TESTS.md