@@ -21,8 +21,7 @@ If you find any errors in this week's issue, [please submit a PR](https://github
21
21
22
22
# Crate of the Week
23
23
24
- This week's crate is [ if_chain] ( https://crates.io/crates/if_chain ) a macro that helps combat rightwards drift where code nests many ` if ` s and ` if let ` s. Since the
25
- latter cannot be contracted with ` && ` , this can be really helpful to make code more readable. Thanks to [ Michael Budde] ( https://users.rust-lang.org/u/mbudde ) for
24
+ This week's crate is [ colored] ( https://crates.io/crates/colored ) a UNIX-based terminal color crate. Thanks to [ Kyle Galloway] ( https://users.rust-lang.org/u/kylegalloway ) for
26
25
the suggestion.
27
26
28
27
[ Submit your suggestions and votes for next week] [ submit_crate ] !
@@ -56,41 +55,28 @@ If you are a Rust project owner and are looking for contributors, please submit
56
55
57
56
# Updates from Rust Core
58
57
59
- 163 pull requests were [ merged in the last week] [ merged ]
60
-
61
- [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2017-10-09..2017-10-16
62
-
63
- * [ add ` x86_64-unknown-linux-gnux32 ` target] ( https://github.com/rust-lang/rust/pull/45224 )
64
- * [ inline ` eq_slice ` into ` str::eq ` ] ( https://github.com/rust-lang/rust/pull/45005 )
65
- * [ MIR-borrowck: moves of prefixes invalidate uses too] ( https://github.com/rust-lang/rust/pull/45025 )
66
- * [ MIR borrowck: print lvalues in error messages in the same way that the AST borrowck] ( https://github.com/rust-lang/rust/pull/44985 )
67
- * [ MIR-borrowck: add false edges to match arms] ( https://github.com/rust-lang/rust/pull/45200 )
68
- * [ MIR-borrowck: migrate remaining AST diagnostics] ( https://github.com/rust-lang/rust/pull/45167 )
69
- * [ querify ` trans_fulfill_obligation ` ] ( https://github.com/rust-lang/rust/pull/44967 )
70
- * [ querify Vtable methods] ( https://github.com/rust-lang/rust/pull/45137 )
71
- * [ check namespaces when resolving associated items in typeck] ( https://github.com/rust-lang/rust/pull/45297 )
72
- * [ rustc: Remove ` used_mut_nodes ` from ` TyCtxt ` ] ( https://github.com/rust-lang/rust/pull/45283 )
73
- * [ rustc: Fix some ThinLTO internalization] ( https://github.com/rust-lang/rust/pull/45215 )
74
- * [ rustc: Update LLVM with a ThinLTO fix] ( https://github.com/rust-lang/rust/pull/45203 )
75
- * [ rustc: Handle ` #[inline(always)] ` at ` -O0 ` ] ( https://github.com/rust-lang/rust/pull/45202 )
76
- * [ rustc: Don't inline in CGUs at ` -O0 ` ] ( https://github.com/rust-lang/rust/pull/45075 )
77
- * [ rustc: Reduce default CGUs to 16] ( https://github.com/rust-lang/rust/pull/45064 )
78
- * [ incremental compilation auto assert (with except)] ( https://github.com/rust-lang/rust/pull/45104 )
79
- * [ incremental compilation: Bring back output of -Zincremental-info] ( https://github.com/rust-lang/rust/pull/45063 )
80
- * [ ensure ` std::mem::Discriminant ` is ` Send + Sync ` ] ( https://github.com/rust-lang/rust/pull/45095 )
81
- * [ fix ` TcpStream::connect_timeout ` on linux] ( https://github.com/rust-lang/rust/pull/45269 )
82
- * [ improve performance of ` spsc_queue ` and stream] ( https://github.com/rust-lang/rust/pull/44963 )
83
- * [ improve raw ` Box ` conversions] ( https://github.com/rust-lang/rust/pull/44877 )
84
- * [ some hashmap cleanups] ( https://github.com/rust-lang/rust/pull/45263 )
85
- * [ optimize comparison functions of ` Iterator ` ] ( https://github.com/rust-lang/rust/pull/45007 )
86
- * [ compiletest/runtest: format ` ErrorKind ` with ` Display ` ] ( https://github.com/rust-lang/rust/pull/45258 )
87
- * [ implement display_hint in gdb pretty printers] ( https://github.com/rust-lang/rust/pull/45071 )
88
- * [ some low-hanging rustdoc optimizations] ( https://github.com/rust-lang/rust/pull/44613 )
89
- * [ rustdoc: mobile sidebar improvements] ( https://github.com/rust-lang/rust/pull/45240 )
90
- * [ let rustdoc print the crate version into docs] ( https://github.com/rust-lang/rust/pull/44989 )
91
- * [ incr.comp.: Introduce ` ensure ` and ` ensure ` typeck_tables_of] ( https://github.com/rust-lang/rust/pull/45228 )
92
- * [ enable building clippy in CI] ( https://github.com/rust-lang/rust/pull/45177 ) (one more step towards stable clippy!)
93
- * [ update grammar to parse current rust syntax] ( https://github.com/rust-lang/rust/pull/45125 ) (Language lawyers rejoice!)
58
+ 121 pull requests were [ merged in the last week] [ merged ]
59
+
60
+ [ merged ] : https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2017-10-16..2017-10-23
61
+
62
+ * [ rustbuild: Compile rustc with ThinLTO] ( https://github.com/rust-lang/rust/pull/45400 )
63
+ * [ code suggestions for non-shorthand field pattern, no-mangle lints] ( https://github.com/rust-lang/rust/pull/45232 )
64
+ * [ cleanly error for non-const variable in associated const] ( https://github.com/rust-lang/rust/pull/45442 )
65
+ * [ remove or encapsulate the remaining non-query data in tcx] ( https://github.com/rust-lang/rust/pull/44501 )
66
+ * [ make ` erase_regions_ty ` query anonymous] ( https://github.com/rust-lang/rust/pull/45364 )
67
+ * [ bump the minimum LLVM to 3.9] ( https://github.com/rust-lang/rust/pull/45326 )
68
+ * [ backport ThinLTO LLVM 5 fixes] ( https://github.com/rust-lang/rust/pull/45301 )
69
+ * [ rustc: Move bytecode compression into codegen] ( https://github.com/rust-lang/rust/pull/45399 )
70
+ * [ rustc: Add ` _imp_ ` symbols later in compilation] ( https://github.com/rust-lang/rust/pull/45348 )
71
+ * [ incr.comp.: Use 128bit SipHash for fingerprinting] ( https://github.com/rust-lang/rust/pull/45319 )
72
+ * [ mark block exits as reachable if the block can break] ( https://github.com/rust-lang/rust/pull/45316 )
73
+ * [ avoid unnecessary allocas for indirect function arguments] ( https://github.com/rust-lang/rust/pull/44573 )
74
+ * [ std: Update randomness implementation on Windows] ( https://github.com/rust-lang/rust/pull/45370 )
75
+ * [ fix a few bugs in drop generation] ( https://github.com/rust-lang/rust/pull/45359 )
76
+ * [ introduce pthread_cancel() for terminating threads] ( https://github.com/rust-lang/libc/pull/810 )
77
+ * [ fix ABI breakage in syscall constants] ( https://github.com/rust-lang/libc/pull/815 )
78
+ * [ fix most rendering warnings from switching to CommonMark] ( https://github.com/rust-lang/rust/pull/45419 )
79
+ * [ allow cargo install --version as well (preferred)] ( https://github.com/rust-lang/cargo/pull/4637 )
94
80
95
81
## New Contributors
96
82
0 commit comments