rust/src
Yuki Okushi 0b1870e7b9
Rollup merge of #81379 - GuillaumeGomez:improve-urls, r=Nemo157
Improve URLs handling

Fixes #81330.

Explanations: before this PR, when emptying the search input, we still had `?search=` in the URL, which wasn't very nice. Now, if the search is empty, we drop the `?search=` part.

Also, I realized while working on this PR that when we clicked on a menu link when we were on the search results, the search parameters would look like: `?search=#the-anchor`, which was super weird. Now, it looks like this: `?search=the-search#the-anchor`.

Also, I didn't use the `Url` very nice API because it's not available in any IE version (sadness...).

cc `````@lzutao`````
r? `````@Nemo157`````
2021-01-28 15:09:12 +09:00
..
bootstrap Deny internal lints for rustdoc 2021-01-21 23:05:52 -05:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci ci: use the monorepo's lockfile when building cargo for pgo profiling 2021-01-25 13:33:24 +01:00
doc Rollup merge of #81399 - ehuss:update-books, r=ehuss 2021-01-27 04:43:32 +09:00
etc Add jsondocck tool, and use it for rustdoc JSON 2021-01-19 14:24:25 -05:00
librustdoc Rollup merge of #81379 - GuillaumeGomez:improve-urls, r=Nemo157 2021-01-28 15:09:12 +09:00
llvm-project@f9a8d70b6e Update to LLVM 11.0.1 2021-01-07 11:32:10 -08:00
test Rollup merge of #81062 - sexxi-goose:precise_capture_diagnostics, r=nikomatsakis 2021-01-28 15:09:06 +09:00
tools Rollup merge of #81277 - flip1995:from_diag_items, r=matthewjasper 2021-01-28 15:09:08 +09:00
README.md
stage0.txt Bump bootstrap compiler to 1.50 beta 2020-12-30 09:27:19 -05:00
version Bump version to 1.51 2020-12-25 10:42:53 -05:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

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