Skip to content

Commit f58ede0

Browse files
authored
Merge branch 'master' into patch-10
2 parents d79c307 + 8562977 commit f58ede0

File tree

1 file changed

+41
-29
lines changed

1 file changed

+41
-29
lines changed

drafts/2019-10-22-this-week-in-rust.md

Lines changed: 41 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ If you find any errors in this week's issue, [please submit a PR](https://github
1717
## News & Blog Posts
1818

1919
* [Programming Servo: shipping message-ports(via a detour into Spectre)](https://medium.com/programming-servo/programming-servo-shipping-message-ports-via-a-detour-into-spectre-c96683ac0b8).
20+
* [The embedded WG's Operating System Tutorials rewrite added support for the Raspberry Pi 4](https://github.com/rust-embedded/rust-raspi3-OS-tutorials/tree/rewrite_for_v2).
21+
- [Adventures in motion control: Simple Automation Sequences](http://adventures.michaelfbryan.com/posts/simple-automation-sequences/)
2022

2123
# Crate of the Week
2224

23-
This week, we don't have one, nor two, but *three* crates of the week! There's [Watt](https://github.com/dtolnay/watt), a fast WASM-based proc-macro runtime, [Anyhow](https://github.com/dtolnay/anyhow), yet another error handling crate and [spotify-tui](https://github.com/Rigellute/spotify-tui), a console user interface for Spotify.
25+
This week's crate is [grubbnet](https://github.com/dooskington/grubbnet), a TCP client/server library for networked applications and games.
2426

25-
Thanks to [Aloso](https://users.rust-lang.org/t/crate-of-the-week/2704/649), [zicklag](https://users.rust-lang.org/t/crate-of-the-week/2704/645) and [Vikrant](https://users.rust-lang.org/t/crate-of-the-week/2704/644) for the suggestion!
27+
Thanks to [Dooskington](https://users.rust-lang.org/t/crate-of-the-week/2704/649), [zicklag](https://users.rust-lang.org/t/crate-of-the-week/2704/650) for the suggestion!
2628

2729
[Submit your suggestions and votes for next week][submit_crate]!
2830

@@ -47,30 +49,40 @@ If you are a Rust project owner and are looking for contributors, please submit
4749

4850
# Updates from Rust Core
4951

50-
302 pull requests were [merged in the last week][merged]
51-
52-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-10-07..2019-10-14
53-
54-
* [Add support for `const unsafe? extern fn`](https://github.com/rust-lang/rust/pull/64906)
55-
* [Split non-CAS atomic support off into `target_has_atomic_load_store`](https://github.com/rust-lang/rust/pull/65214)
56-
* [deriving: Avoid dummy Span on an artificial `type_ident` path](https://github.com/rust-lang/rust/pull/65310)
57-
* [Print lifetimes with backticks](https://github.com/rust-lang/rust/pull/65292)
58-
* [Fix suggested bound addition diagnostic](https://github.com/rust-lang/rust/pull/65289)
59-
* [Note when a mutable trait object is needed](https://github.com/rust-lang/rust/pull/65077)
60-
* [Use structured suggestion for removal of `as_str()` call](https://github.com/rust-lang/rust/pull/65194)
61-
* [Fix const generic arguments not displaying in types mismatch diagnostic](https://github.com/rust-lang/rust/pull/65154)
62-
* [Improve message when attempting to instantiate tuple structs with private fields](https://github.com/rust-lang/rust/pull/65153)
63-
* [Suggest dereferencing boolean reference when used in `if` or `while`](https://github.com/rust-lang/rust/pull/65150)
64-
* [When suggesting assoc function with type params, include turbofish](https://github.com/rust-lang/rust/pull/65145)
65-
* [self-profiling: Add events for everything except trait selection](https://github.com/rust-lang/rust/pull/65208)
66-
* [Avoid `SmallVec::collect`](https://github.com/rust-lang/rust/pull/64949)
67-
* [Speed up `TokenStream` concatenation](https://github.com/rust-lang/rust/pull/65198)
68-
* [Implement `Clone::clone_from` for `VecDeque`](https://github.com/rust-lang/rust/pull/65069)
69-
* [Stabilize `slice::repeat`](https://github.com/rust-lang/rust/pull/64877)
70-
* [Stabilize `mem::take`](https://github.com/rust-lang/rust/pull/64716)
71-
* [Implement (`HashMap`) `Entry::insert`](https://github.com/rust-lang/rust/pull/64656)
72-
* [improve performance of signed `saturating_mul`](https://github.com/rust-lang/rust/pull/65312)
73-
* [dist: minimize the `rust-std` component](https://github.com/rust-lang/rust/pull/64823)
52+
353 pull requests were [merged in the last week][merged]
53+
54+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-10-14..2019-10-21
55+
56+
* [Stabilize proc macros generating `macro_rules` items](https://github.com/rust-lang/rust/pull/64035)
57+
* [Return `false` from `needs_drop` for all zero-sized arrays](https://github.com/rust-lang/rust/pull/65389)
58+
* [Optimize `LexicalResolve::expansion`](https://github.com/rust-lang/rust/pull/65260)
59+
* [Remove custom `PartialEq` impls for `LocalInternedString`](https://github.com/rust-lang/rust/pull/65426)
60+
* [Optimize `BitIter`](https://github.com/rust-lang/rust/pull/65425)
61+
* [Optimize dropck](https://github.com/rust-lang/rust/pull/64595)
62+
* [More symbol cleanups](https://github.com/rust-lang/rust/pull/65545)
63+
* [Avoid unnecessary arena allocations in `expand_pattern()`](https://github.com/rust-lang/rust/pull/65463)
64+
* [Avoid unnecessary `TokenTree` to `TokenStream` conversions](https://github.com/rust-lang/rust/pull/65455)
65+
* [expand: Simplify expansion of derives](https://github.com/rust-lang/rust/pull/65252)
66+
* [Fix suggestion to constrain trait for method to be found](https://github.com/rust-lang/rust/pull/65242)
67+
* [syntax: add parser recovery for intersection- / and-patterns `p1 @ p2`](https://github.com/rust-lang/rust/pull/65410)
68+
* [Reducing spurious unused lifetime warnings](https://github.com/rust-lang/rust/pull/64603)
69+
* [Bring attention to suggestions when the only difference is capitalization](https://github.com/rust-lang/rust/pull/65398)
70+
* [Use structured suggestion for restricting bounds](https://github.com/rust-lang/rust/pull/65192)
71+
* [Fix zero-size uninitialized boxes](https://github.com/rust-lang/rust/pull/65174)
72+
* [Add check for overlapping ranges to unreachable patterns lint](https://github.com/rust-lang/rust/pull/64007)
73+
* [Use more fine grained locks for the dep graph](https://github.com/rust-lang/rust/pull/63756)
74+
* [Fix `canonicalize_const_var` leaking inference variables](https://github.com/rust-lang/rust/pull/65652)
75+
* [mir-opt: Improve SimplifyLocals pass so it can remove unused consts](https://github.com/rust-lang/rust/pull/65624)
76+
* [Improve error message for APIT with explicit generic arguments](https://github.com/rust-lang/rust/pull/65614)
77+
* [Remove unreachable unit tuple compare binop codegen](https://github.com/rust-lang/rust/pull/65605)
78+
* [Avoid ICE when `include!` is used by stdin crate](https://github.com/rust-lang/rust/pull/65603)
79+
* [Implement `AsRef<[T]>` for `List<T>`](https://github.com/rust-lang/rust/pull/65444)
80+
* [hashbrown: Remove most `#[inline]` annotations](https://github.com/rust-lang/hashbrown/pull/119)
81+
* [Always inline `mem::`{`size_of`, `align_of`} in debug builds](https://github.com/rust-lang/rust/pull/65016)
82+
* [Avoid realloc in `CString::new`](https://github.com/rust-lang/rust/pull/65551)
83+
* [`BTreeSet` symmetric_difference & union optimized](https://github.com/rust-lang/rust/pull/65226)
84+
* [cargo: Allow `--all-features` in root of virtual workspace](https://github.com/rust-lang/cargo/pull/7525)
85+
* [rustup install: add `--profile` flag to override profile](https://github.com/rust-lang/rustup.rs/pull/2075)
7486

7587
## Approved RFCs
7688

@@ -149,11 +161,11 @@ Email the [Rust Community Team][community] for access.
149161

150162
# Quote of the Week
151163

152-
> If the Rust community has an ethos, it's that software should have strong static typing, but people should have soft dynamic typing.
164+
> Rust helped me grasp concepts I should have known when writing C++
153165
154-
[Kyle Strand on Twitter](https://twitter.com/BatmanAoD/status/1174799660134699008)
166+
[Alexander Clarke on the Microsoft Security Response Center blog]()
155167

156-
Thanks to [Kyle Strand](https://users.rust-lang.org/t/twir-quote-of-the-week/328/710) for the suggestion!
168+
Thanks to [mmmmib](https://users.rust-lang.org/t/twir-quote-of-the-week/328/712) for the suggestion!
157169

158170
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
159171

0 commit comments

Comments
 (0)