rust/src
bors 4711ac314c Auto merge of #38436 - bluecereal:patch-1, r=frewsxcv
Update if-let.md

Calling if-let a combination of if and let is confusing, as some may be led to believe that it's a literal combination, instead of syntactic sugar added to the language as a convenience.  What's there to stop someone from thinking if-let is just if and let together?

I do think this article does a good job of implying what's really going on; however, I was only able to notice this after I had begun to understand if/while-let statements, courtesy of the Rust IRC chat.

Basically, this article lacks the clarity and explicitness an inexperienced programmer like me needs in order to understand the contents fully.  This is shown by my inability to understand the if-let concept from this page of the Book alone.

I think convenience, sugar, and (if-let != if + let) should all be made mention of in a clear, explicit manner. I lack confidence in my understanding of this issue, so I wrote just enough to hopefully get my thoughts across.
2017-02-06 06:55:10 +00:00
..
bootstrap Rollup merge of #39491 - dumbbell:support-aarch64-unknown-freebsd, r=alexcrichton 2017-02-05 12:45:06 -05:00
build_helper
ci
compiler-rt@a8fc4c169f
doc Auto merge of #38436 - bluecereal:patch-1, r=frewsxcv 2017-02-06 06:55:10 +00:00
driver
etc
grammar
jemalloc@11bfb0dcf8
liballoc Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
liballoc_jemalloc
liballoc_system
libarena
libbacktrace libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
libcollections Rollup merge of #39538 - stjepang:slightly-optimize-sort, r=alexcrichton 2017-02-05 12:45:15 -05:00
libcollectionstest Minor fix in the *_expensive benchmark 2017-02-04 18:04:26 +01:00
libcompiler_builtins Rollup merge of #39519 - nagisa:more-snap, r=alexcrichton 2017-02-05 12:45:11 -05:00
libcore Auto merge of #39567 - frewsxcv:rollup, r=frewsxcv 2017-02-05 19:33:55 +00:00
libcoretest Auto merge of #39567 - frewsxcv:rollup, r=frewsxcv 2017-02-05 19:33:55 +00:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc@cb7f667321 libstd/net: Add peek APIs to UdpSocket and TcpStream 2017-02-04 12:00:19 -08:00
liblog
libpanic_abort
libpanic_unwind
libproc_macro
libproc_macro_plugin
librand
librustc Auto merge of #38897 - nikomatsakis:issue-32330-followup, r=arielb1 2017-02-05 22:53:10 +00:00
librustc_back Rollup merge of #39491 - dumbbell:support-aarch64-unknown-freebsd, r=alexcrichton 2017-02-05 12:45:06 -05:00
librustc_bitflags
librustc_borrowck Add warning for () to ! switch 2017-02-03 18:48:15 +08:00
librustc_const_eval Rollup merge of #39526 - canndrew:uninhabited-while-let-fix, r=arielb1 2017-02-05 12:45:12 -05:00
librustc_const_math More snap cleanup 2017-02-04 04:53:09 +02:00
librustc_data_structures Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
librustc_driver Rollup merge of #39439 - king6cong:move, r=alexcrichton 2017-02-05 12:45:02 -05:00
librustc_errors
librustc_incremental pacify the mercilous tidy, improve cycle unit test 2017-02-04 06:09:19 -05:00
librustc_lint Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakis 2017-02-05 09:14:39 -05:00
librustc_llvm Support a debug info API change for LLVM 4.0 2017-02-04 23:22:05 +13:00
librustc_metadata Rollup merge of #39442 - keeperofdakeys:expand-derives, r=jseyfried 2017-02-05 09:14:46 -05:00
librustc_mir Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakis 2017-02-05 09:14:39 -05:00
librustc_passes
librustc_platform_intrinsics
librustc_plugin
librustc_privacy
librustc_resolve Rollup merge of #39443 - phungleson:remove-unresolved-things, r=nikomatsakis 2017-02-05 09:14:48 -05:00
librustc_save_analysis Rollup merge of #39453 - nrc:save-path, r=nikomatsakis 2017-02-05 09:14:49 -05:00
librustc_trans Rollup merge of #39519 - nagisa:more-snap, r=alexcrichton 2017-02-05 12:45:11 -05:00
librustc_typeck make lifetimes that only appear in return type early-bound 2017-02-05 16:30:03 -05:00
librustdoc make lifetimes that only appear in return type early-bound 2017-02-05 16:30:03 -05:00
libserialize Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
libstd Rollup merge of #39514 - tbu-:pr_less_syscalls_fd, r=alexcrichton 2017-02-05 12:45:10 -05:00
libstd_unicode
libsyntax Rollup merge of #39552 - zackmdavis:more_struct_aliases_stabilization_version, r=petrochenkov 2017-02-05 09:14:57 -05:00
libsyntax_ext Move derive macro expansion into the MacroExpander 2017-02-05 09:31:02 +10:30
libsyntax_pos
libterm
libtest
libunwind
llvm@ceb177eeef
rt Set correct hoedown submodule branch 2017-02-03 11:08:20 +01:00
rtstartup
rust-installer@4f99485080
rustc
rustllvm Support a debug info API change for LLVM 4.0 2017-02-04 23:22:05 +13:00
test Auto merge of #38897 - nikomatsakis:issue-32330-followup, r=arielb1 2017-02-05 22:53:10 +00:00
tools Update to last cargo version 2017-02-03 13:55:18 +01:00
vendor
Cargo.lock Auto merge of #39434 - nikomatsakis:incr-comp-skip-typeck-2, r=eddyb 2017-02-04 12:38:13 +00:00
Cargo.toml
stage0.txt Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00