rust/src
Yuki Okushi 4ab305031c
Rollup merge of #85124 - jsha:trust-the-bool, r=GuillaumeGomez
rustdoc: remove explicit boolean comparisons.

For boolean variables it's shorter and more readable to check the value directly, or negate it with `!`.

In a couple of cases I reordered an if/else pair because it made the initial `if` statement simpler.

An example of a style guide recommending this: https://airbnb.io/javascript/#comparison--shortcuts

r? `@GuillaumeGomez`
2021-05-12 07:18:01 +09:00
..
bootstrap Enable --show-type-layout for the rustdoc API docs 2021-05-11 09:55:32 -07:00
build_helper
ci update perf version used for PGO 2021-05-10 14:39:28 +02:00
doc remove const_fn feature gate 2021-05-09 14:29:31 +02:00
etc Fix HashMap/HashSet LLDB pretty-printer after hashbrown 0.11.0 2021-04-06 12:44:17 +03:00
librustdoc Rollup merge of #85124 - jsha:trust-the-bool, r=GuillaumeGomez 2021-05-12 07:18:01 +09:00
llvm-project@c78cf18a07 Update LLVM submodule 2021-05-08 11:01:09 +02:00
rustdoc-json-types rustdoc-json: Rename Import.span to Import.source 2021-03-21 19:47:12 -07:00
test Rollup merge of #85018 - hi-rustin:rustin-patch-84637, r=estebank 2021-05-12 07:18:00 +09:00
tools Auto merge of #85109 - RalfJung:remove-const_fn, r=oli-obk 2021-05-11 10:25:14 +00:00
README.md update message 2021-02-14 10:08:37 +05:30
stage0.txt Bump bootstrap compiler 2021-04-06 18:24:09 -07:00
version bump version to 1.54.0 2021-04-30 15:24:00 +02: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.