rust/src
bors 7c3f0d6f30 Auto merge of #107141 - notriddle:notriddle/max-lev-distance-2023, r=GuillaumeGomez
rustdoc: compute maximum Levenshtein distance based on the query

Preview: https://notriddle.com/notriddle-rustdoc-demos/search-lev-distance-2023/std/index.html?search=regex

The heuristic is pretty close to the name resolver, maxLevDistance = `Math.floor(queryLen / 3)`.

Fixes #103357
Fixes #82131

Similar to https://github.com/rust-lang/rust/pull/103710, but following the suggestion in https://github.com/rust-lang/rust/pull/103710#issuecomment-1296360267 to use `floor` instead of `ceil`, and unblocked now that https://github.com/rust-lang/rust/pull/105796 made it so that setting the max lev distance to `0` doesn't cause substring matches to be removed.
2023-02-06 02:09:00 +00:00
..
bootstrap Rollup merge of #107116 - ozkanonur:consolidate-bootstrap-docs, r=jyn514 2023-02-04 20:29:06 +01:00
ci Auto merge of #107625 - matthiaskrgr:rollup-xr9oldy, r=matthiaskrgr 2023-02-03 08:07:47 +00:00
doc Use triple rather than arch for fuchsia test runner 2023-02-02 13:29:03 -08:00
etc Pass --locked to the x test tidy call 2023-01-21 20:21:04 +00:00
librustdoc Auto merge of #107141 - notriddle:notriddle/max-lev-distance-2023, r=GuillaumeGomez 2023-02-06 02:09:00 +00:00
llvm-project@477e7285b1 Pull in more LLVM commits 2023-01-20 07:48:59 -08:00
rustdoc-json-types Rustdoc-Json: Report discriminant on all kinds of enum variant. 2023-01-01 19:48:26 +00:00
tools Rename Cursor/CursorRef as TokenTreeCursor/RefTokenTreeCursor. 2023-02-03 10:06:52 +11:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Download rustc component for rustfmt toolchain as well 2023-01-31 10:29:33 -05:00
version Bump to 1.69.0 2023-01-20 18:06:54 -05:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.