rust/src
Josh Stone 60f1449b61 Add Iterator::partition_mut() and is_partitioned()
`partition_mut()` swaps `&mut T` items in-place to satisfy the
predicate, so all `true` items precede all `false` items. This requires
a `DoubleEndedIterator` so we can search from front and back for items
that need swapping.

`is_partitioned()` checks whether the predicate is already satisfied.
2019-07-09 12:39:25 -07:00
..
bootstrap Rollup merge of #62438 - petrochenkov:buildwarn, r=Mark-Simulacrum 2019-07-07 05:11:55 +02:00
build_helper
ci cfg: linkcheck only on x86-64 linux 2019-07-06 11:05:22 -03:00
doc Rollup merge of #60458 - KodrAus:debug_map_entry, r=alexcrichton 2019-07-09 04:52:35 +02:00
etc
grammar
liballoc Rollup merge of #62403 - SimonSapin:concat, r=alexcrichton 2019-07-09 04:52:38 +02:00
libarena rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
libcore Add Iterator::partition_mut() and is_partitioned() 2019-07-09 12:39:25 -07:00
libfmt_macros rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
libgraphviz rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc Auto merge of #62233 - matthewjasper:exit-arm-scopes, r=pnkfelix 2019-07-09 13:10:31 +00:00
librustc_allocator rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_apfloat rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_asan
librustc_borrowck Auto merge of #62233 - matthewjasper:exit-arm-scopes, r=pnkfelix 2019-07-09 13:10:31 +00:00
librustc_codegen_llvm Auto merge of #62460 - RalfJung:llvm-null, r=eddyb 2019-07-09 06:20:44 +00:00
librustc_codegen_ssa Remove unused dependencies 2019-07-09 00:17:42 +09:00
librustc_codegen_utils normalize use of backticks for compiler messages in librustc_codegen 2019-07-08 00:54:38 +02:00
librustc_data_structures rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_driver Auto merge of #62233 - matthewjasper:exit-arm-scopes, r=pnkfelix 2019-07-09 13:10:31 +00:00
librustc_errors rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_fs_util rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_incremental rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_interface Remove unused dependencies 2019-07-09 00:17:42 +09:00
librustc_lint Rollup merge of #61883 - zackmdavis:non_ascii_idents_lint, r=Manishearth 2019-07-07 17:00:15 +02:00
librustc_llvm rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_lsan
librustc_macros
librustc_metadata rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_mir rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_msan
librustc_passes rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_plugin Rollup merge of #62042 - petrochenkov:macstab, r=matthewjasper 2019-07-07 17:00:17 +02:00
librustc_privacy rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_resolve Rollup merge of #62042 - petrochenkov:macstab, r=matthewjasper 2019-07-07 17:00:17 +02:00
librustc_save_analysis rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_target Auto merge of #59800 - Zoxc:less-dylibs, r=alexcrichton 2019-07-07 11:32:58 +00:00
librustc_traits rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
librustc_tsan
librustc_typeck Rollup merge of #62090 - davidtwco:ice-async-await-out-of-range-substitution, r=nikomatsakis 2019-07-09 04:52:37 +02:00
librustdoc rustdoc: set cfg(doctest) when collecting doctests 2019-07-06 21:37:17 -05:00
libserialize Rollup merge of #62042 - petrochenkov:macstab, r=matthewjasper 2019-07-07 17:00:17 +02:00
libstd Rollup merge of #62403 - SimonSapin:concat, r=alexcrichton 2019-07-09 04:52:38 +02:00
libsyntax Rollup merge of #62213 - QuietMisdreavus:cfg-doctest, r=GuillaumeGomez 2019-07-07 17:00:18 +02:00
libsyntax_ext Rollup merge of #62042 - petrochenkov:macstab, r=matthewjasper 2019-07-07 17:00:17 +02:00
libsyntax_pos Rollup merge of #62213 - QuietMisdreavus:cfg-doctest, r=GuillaumeGomez 2019-07-07 17:00:18 +02:00
libterm Remove use of mem::uninitialized in libterm crate 2019-07-06 03:27:05 +00:00
libtest
libunwind Re-add bootstrap attribute to libunwind for llvm-libunwind feature 2019-07-07 15:45:04 -07:00
llvm-emscripten@7f23313edf
llvm-project@6c1a545b26 Update LLVM: apply patch necessary for ThinLTO on RISC-V 2019-07-07 15:32:09 +03:00
rtstartup Remove licenses 2018-12-25 21:08:33 -07:00
rustc
rustllvm
stdsimd@4bf456c35e
test Auto merge of #62233 - matthewjasper:exit-arm-scopes, r=pnkfelix 2019-07-09 13:10:31 +00:00
tools Auto merge of #62434 - Manishearth:clippyup, r=Manishearth 2019-07-07 08:07:54 +00:00
.gitignore
README.md
stage0.txt

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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

There is also useful content in the following READMEs, which are gradually being moved over to the guide: