rust/src
Guillaume Gomez 123a6ef25c Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis
prefer `if let` to match with `None => { }` arm in some places

In #34268 (8531d581), we replaced matches of None to the unit value `()`
with `if let`s in places where it was deemed that this made the code
unambiguously clearer and more idiomatic. In #34638 (d37edef9), we did
the same for matches of None to the empty block `{}`.

A casual observer, upon seeing these commits fly by, might suppose that
the matter was then settled, that no further pull requests on this
utterly trivial point of style could or would be made. Unless ...

It turns out that sometimes people write the empty block with a space in
between the braces. Who knew?
2016-10-19 23:15:00 +02:00
..
bootstrap Rollup merge of #37265 - brson:bootstrap, r=alexcrichton 2016-10-19 08:00:04 +03:00
build_helper
compiler-rt@f03ba5a4e8 Update src/compiler-rt to incoporate fix for UB in floatsidf. Fix #36518. 2016-09-29 13:54:06 +02:00
doc Rollup merge of #37194 - johnthagen:fix-const-static-header, r=bluss 2016-10-17 23:07:53 +02:00
driver
etc Haiku: add support for building on Haiku 2016-09-25 11:15:18 -05:00
grammar
jemalloc@e058ca6616
liballoc Add assert checking that allocation and deallocation sizes are equal 2016-10-13 14:05:59 +03:00
liballoc_jemalloc Build a dummy alloc_jemalloc crate on platforms that don't support it 2016-09-30 14:03:00 -07:00
liballoc_system Preliminary wasm32 support 2016-09-30 14:02:45 -07:00
libarena Add TypedArena::alloc_slice. 2016-10-19 06:55:34 -06:00
libbacktrace
libcollections Rollup merge of #37187 - frewsxcv:cow-doc-example, r=kmcallister 2016-10-19 23:15:00 +02:00
libcollectionstest Auto merge of #37162 - matklad:static-mut-lint, r=jseyfried 2016-10-17 04:32:15 -07:00
libcompiler_builtins Don't build any native compiler-builtin components for emscripten 2016-09-30 14:04:09 -07:00
libcore Rollup merge of #37240 - jethrogb:typeid_doc, r=sfackler 2016-10-19 08:00:03 +03:00
libcoretest Auto merge of #36815 - alexcrichton:stabilize-1.13, r=aturon 2016-10-03 11:00:03 -07:00
libflate
libfmt_macros
libgetopts Replace _, _ with .. 2016-09-04 12:30:33 +03:00
libgraphviz Stabilise ? 2016-10-12 08:40:22 +13:00
liblibc@ebeab042e6 Stabilise ? 2016-10-12 08:40:22 +13:00
liblog run rustfmt on liblog 2016-10-12 23:45:03 +05:30
libpanic_abort
libpanic_unwind run rustfmt on libpanic_unwind 2016-10-18 23:09:47 +05:30
libproc_macro rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
libproc_macro_plugin rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
librand run rustfmt on librand 2016-10-12 23:40:25 +05:30
librustc Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis 2016-10-19 23:15:00 +02:00
librustc_back Stabilise ? 2016-10-12 08:40:22 +13:00
librustc_bitflags std: Stabilize and deprecate APIs for 1.13 2016-10-03 10:34:34 -07:00
librustc_borrowck prefer if let to match with None => { } arm in some places 2016-10-17 19:00:20 -07:00
librustc_const_eval Rollup merge of #37056 - Mark-Simulacrum:fix-bool-comparison, r=bluss 2016-10-12 14:07:55 -07:00
librustc_const_math Stabilise ? 2016-10-12 08:40:22 +13:00
librustc_data_structures Rollup merge of #37233 - michaelwoerister:blake2-for-ich, r=nikomatsakis 2016-10-19 08:00:03 +03:00
librustc_driver Use TypedArena::alloc_slice in rustc. 2016-10-19 07:53:56 -06:00
librustc_errors run rustfmt on librustc_errors folder 2016-10-18 23:13:02 +05:30
librustc_incremental ICH: Use 128-bit Blake2b hash instead of 64-bit SipHash for incr. comp. fingerprints. 2016-10-17 12:40:25 -04:00
librustc_lint Use one message for uppercase global lint 2016-10-17 11:10:34 +03:00
librustc_llvm debuginfo: Remove some outdated stuff from LLVM DIBuilder binding. 2016-10-14 14:56:33 -04:00
librustc_metadata Use TypedArena::alloc_slice in rustc. 2016-10-19 07:53:56 -06:00
librustc_mir Use TypedArena::alloc_slice in rustc. 2016-10-19 07:53:56 -06:00
librustc_passes Turn some impossible definitions into ICEs 2016-10-04 22:25:25 +03:00
librustc_platform_intrinsics
librustc_plugin Forbid user-defined macros named "macro_rules". 2016-09-26 00:22:40 +00:00
librustc_privacy Turn some impossible definitions into ICEs 2016-10-04 22:25:25 +03:00
librustc_resolve Improve $crate. 2016-10-19 10:03:06 +00:00
librustc_save_analysis Auto merge of #36969 - nnethercote:rename-Parser-fields, r=eddyb 2016-10-17 22:27:57 -07:00
librustc_trans Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis 2016-10-19 23:15:00 +02:00
librustc_typeck Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis 2016-10-19 23:15:00 +02:00
librustc_unicode std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
librustdoc Improve $crate. 2016-10-19 10:03:06 +00:00
libserialize Inline read_{un,}signed_leb128 and opaque::Decoder functions. 2016-10-18 12:00:28 +11:00
libstd Rollup merge of #37165 - GuillaumeGomez:bytes_url, r=kmcallister 2016-10-19 23:15:00 +02:00
libsyntax Rollup merge of #37241 - zackmdavis:if_let_over_none_spaced_empty_block_arm, r=nikomatsakis 2016-10-19 23:15:00 +02:00
libsyntax_ext Rollup merge of #37198 - jseyfried:future_proof_macros_11, r=nrc 2016-10-19 08:00:00 +03:00
libsyntax_pos Stabilise ? 2016-10-12 08:40:22 +13:00
libterm Stabilise ? 2016-10-12 08:40:22 +13:00
libtest Stabilise ? 2016-10-12 08:40:22 +13:00
libunwind Rewrite emscripten unwinding to use libcxx 2016-09-30 14:02:55 -07:00
llvm@ac1c94226e LLVM: Backport "[SimplifyCFG] Correctly test for unconditional branches in GetCaseResults" 2016-10-10 11:12:29 -04:00
rt Address comments and add requested tests 2016-09-03 13:39:35 +03:00
rtstartup Rename static mut to upper case 2016-10-14 17:21:11 +03:00
rust-installer@4f99485080 Update rust-installer. Fixes #36451 2016-10-05 00:17:30 +00:00
rustc Use workspaces and switch to a single Cargo.lock. 2016-10-07 12:04:32 -07:00
rustllvm Rollup merge of #37182 - alexcrichton:appveyor, r=brson 2016-10-19 08:00:00 +03:00
test Improve $crate. 2016-10-19 10:03:06 +00:00
tools Rollup merge of #37182 - alexcrichton:appveyor, r=brson 2016-10-19 08:00:00 +03:00
Cargo.lock rustbuild: Optimize build times slightly 2016-10-08 11:11:00 -07:00
Cargo.toml Use workspaces and switch to a single Cargo.lock. 2016-10-07 12:04:32 -07:00
stage0.txt Allow bootstrapping without a key. Fixes #36548 2016-10-19 01:23:01 +00:00