rust/src
Dylan DPC d5b86d5ee9
Rollup merge of #101690 - kadiwa4:avoid_iterator_last, r=oli-obk
Avoid `Iterator::last`

Adapters like `Filter` and `Map` use the default implementation of `Iterator::last` which is not short-circuiting (and so does `core::str::Split`). The predicate function will be run for every single item of the underlying iterator. I hope that removing those calls to `last` results in slight performance improvements.
2022-09-13 16:51:31 +05:30
..
bootstrap Avoid UB in the Windows filesystem code in... bootstrap? 2022-09-05 08:39:11 -07:00
ci Update browser-ui-test version to 0.10.0 2022-09-10 17:50:47 +02:00
doc Auto merge of #99916 - dpaoliello:stablizerawdylib, r=wesleywiser 2022-09-10 04:14:34 +00:00
etc Rustdoc-Json: More accurate struct type. 2022-09-07 09:42:23 +01:00
librustdoc Rollup merge of #101690 - kadiwa4:avoid_iterator_last, r=oli-obk 2022-09-13 16:51:31 +05:30
llvm-project@670e5f673a Update LLVM submodule 2022-09-02 10:18:12 +02:00
rustdoc-json-types Rustdoc-Json: More accurate struct type. 2022-09-07 09:42:23 +01:00
test Auto merge of #100101 - BelovDV:issue-99429, r=petrochenkov 2022-09-13 04:00:24 +00:00
tools Rollup merge of #101690 - kadiwa4:avoid_iterator_last, r=oli-obk 2022-09-13 16:51:31 +05:30
README.md Sunset RLS 2022-08-27 21:36:08 -07:00
stage0.json Bump stage0 2022-08-29 19:30:11 +02:00
version Bump to 1.65.0 2022-08-05 11:32:46 -04:00

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

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like cargo, miri, etc.

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