Skip to content

Commit 72dd9f6

Browse files
committed
prepares 420 for publish, sets up draft for 421
Signed-off-by: Nell Shamrell <[email protected]>
1 parent 926417c commit 72dd9f6

File tree

3 files changed

+183
-25
lines changed

3 files changed

+183
-25
lines changed

draft/2021-12-08-this-week-in-rust.md renamed to content/2021-12-08-this-week-in-rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ If you find any errors in this week's issue, [please submit a PR](https://github
6363
### Miscellaneous
6464
* [Live Coder Jon Gjengset Gets into the Nitty-Gritty of Rust](https://nostarch.com/blog/jon-gjengset-talks-rust)
6565
* [AWS SDK for Rust (Developer Preview)](https://aws.amazon.com/about-aws/whats-new/2021/12/aws-sdk-rust-developer-preview/)
66-
* [BR-pt][Esta Semana em Rust #419](https://github.com/luisvonmuller/Esta-Semana-Em-Rust/blob/main/%23419.md)
66+
* [BR-pt] [Esta Semana em Rust #419](https://github.com/luisvonmuller/Esta-Semana-Em-Rust/blob/main/%23419.md)
6767

6868
## Crate of the Week
6969

draft/2021-12-15-this-week-in-rust.md

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
Title: This Week in Rust 421
2+
Number: 421
3+
Date: 2021-12-15
4+
Category: This Week in Rust
5+
6+
Hello and welcome to another issue of *This Week in Rust*!
7+
[Rust](http://rust-lang.org) is a programming language empowering everyone to build reliable and efficient software.
8+
This is a weekly summary of its progress and community.
9+
Want something mentioned? Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) or [send us a pull request](https://github.com/rust-lang/this-week-in-rust).
10+
Want to get involved? [We love contributions](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md).
11+
12+
*This Week in Rust* is openly developed [on GitHub](https://github.com/rust-lang/this-week-in-rust).
13+
If you find any errors in this week's issue, [please submit a PR](https://github.com/rust-lang/this-week-in-rust/pulls).
14+
15+
## Updates from Rust Community
16+
17+
### Official
18+
19+
### Foundation
20+
21+
### Project/Tooling Updates
22+
23+
### Observations/Thoughts
24+
25+
### Rust Walkthroughs
26+
27+
### Miscellaneous
28+
29+
## Crate of the Week
30+
31+
This week's crate is [tap](https://crates.io/crates/tap), a library with extension traits to provide suffix-position pipeline behavior.
32+
33+
Thanks to [David Mason](https://users.rust-lang.org/t/crate-of-the-week/2704/988) for the suggestion!
34+
35+
[Please submit your suggestions and votes for next week][submit_crate]!
36+
37+
[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704
38+
39+
## Call for Participation
40+
41+
Always wanted to contribute to open-source projects but didn't know where to start?
42+
Every week we highlight some tasks from the Rust community for you to pick and get started!
43+
44+
Some of these tasks may also have mentors available, visit the task page for more information.
45+
46+
If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines].
47+
48+
[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821
49+
50+
## Updates from the Rust Project
51+
52+
286 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%3A2021-11-29..2021-12-06
55+
56+
* [Optimize `rustc_lexer`](https://github.com/rust-lang/rust/pull/91393)
57+
* [Add support for LLVM coverage mapping format versions 5 and 6](https://github.com/rust-lang/rust/pull/91207)
58+
* [Add support for riscv64gc-unknown-freebsd](https://github.com/rust-lang/rust/pull/91284)
59+
* [Fix ICE in `check_must_not_suspend_ty()`](https://github.com/rust-lang/rust/pull/91367)
60+
* [Fix ICE when `yield`ing in function returning `impl Trait`](https://github.com/rust-lang/rust/pull/91488)
61+
* [Don't suggest types whose inner type is erroneous](https://github.com/rust-lang/rust/pull/91450)
62+
* [Only show notable traits if both types are the same](https://github.com/rust-lang/rust/pull/91366)
63+
* [Improve diagnostic for missing half of binary operator in `if` condition](https://github.com/rust-lang/rust/pull/91435)
64+
* [Improve error message for `E0659` if the source is not available](https://github.com/rust-lang/rust/pull/91298)
65+
* [Improve error message for incorrect field accesses through raw pointers](https://github.com/rust-lang/rust/pull/91364)
66+
* [Add `Option::inspect` and `Result::{inspect, inspect_err}`](https://github.com/rust-lang/rust/pull/91346)
67+
* [Add a `try_reduce` method to the `Iterator` trait](https://github.com/rust-lang/rust/pull/87054)
68+
* [Add slice `take` methods](https://github.com/rust-lang/rust/pull/88502)
69+
* [Make `array::`{`try_from_fn`, `try_map`} and `Iterator::try_find` generic over `Try`](https://github.com/rust-lang/rust/pull/91286)
70+
* [Introduce `RawVec::reserve_for_push`](https://github.com/rust-lang/rust/pull/91352)
71+
* [Implement `VecDeque::retain_mut`](https://github.com/rust-lang/rust/pull/91215)
72+
* [libc: Define `max_align_t` for wasi](https://github.com/rust-lang/libc/pull/2577)
73+
* [portable-simd: Generic `core::ops` for `Simd<T, _>`](https://github.com/rust-lang/portable-simd/pull/195)
74+
* [cargo: Stabilize `future-incompat-report`](https://github.com/rust-lang/cargo/pull/10165)
75+
* [cargo: Support abbreviating `--release` as `-r`](https://github.com/rust-lang/cargo/pull/10133)
76+
* [clippy: Consider `NonNull` as a pointer type](https://github.com/rust-lang/rust-clippy/pull/8074)
77+
* [clippy: Escape backslash in `single_char_pattern.rs`](https://github.com/rust-lang/rust-clippy/pull/8067)
78+
* [clippy: Fix `any()` not taking reference in `search_is_some` lint](https://github.com/rust-lang/rust-clippy/pull/7463)
79+
* [clippy: Fix some false negatives for `single_char_pattern`](https://github.com/rust-lang/rust-clippy/pull/8077)
80+
* [clippy: Parenthesize blocks in `needless_bool` suggestion](https://github.com/rust-lang/rust-clippy/pull/8066)
81+
* [clippy: Upgrade `map_flatten` to complexity](https://github.com/rust-lang/rust-clippy/pull/8054)
82+
* [rustfmt: Determine when new comment lines are needed for itemized blocks](https://github.com/rust-lang/rustfmt/pull/5097)
83+
84+
### Rust Compiler Performance Triage
85+
86+
A week of mostly rather small changes with many regressions being hard to diagnose. The largest regression comes from the introduction of a new future (desugaring `.await` into a call to `IntoFuture::into_future`). This was deemed acceptable as it only seems to have a negative impact in stress test situations where async/await is used more than one would normally expect. Unfortunately this does mean regressions beat out improvements this week.
87+
88+
Triage done by **@rylev**.
89+
Revision range: [1c0287..ecb65b](https://perf.rust-lang.org/?start=1c0287830e0fb3c4007afea2819ba03766da6e9c&end=ecb65b0e170fc5275870c9d0fba7267a57cf35e5&absolute=false&stat=instructions%3Au)
90+
91+
3 Regressions, 5 Improvements, 5 Mixed; 3 of them in rollups
92+
31 comparisons made in total
93+
94+
[Full report here](https://github.com/rust-lang/rustc-perf/blob/master/triage/2021-12-07.md)
95+
96+
### [Approved RFCs](https://github.com/rust-lang/rfcs/commits/master)
97+
98+
Changes to Rust follow the Rust [RFC (request for comments) process](https://github.com/rust-lang/rfcs#rust-rfcs). These
99+
are the RFCs that were approved for implementation this week:
100+
101+
* [Static async fn in traits](https://github.com/rust-lang/rfcs/commit/69833de7b46a571c6110c9ffc0796aeabde335ff)
102+
103+
### Final Comment Period
104+
105+
Every week [the team](https://www.rust-lang.org/team.html) announces the
106+
'final comment period' for RFCs and key PRs which are reaching a
107+
decision. Express your opinions now.
108+
109+
#### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period)
110+
111+
* *No RFCs entered final comment period this week.*
112+
113+
#### [Tracking Issues & PRs](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Afinal-comment-period+sort%3Aupdated-desc)
114+
115+
* [disposition: merge] [Relax priv-in-pub lint on generic bounds and where clauses of trait impls.](https://github.com/rust-lang/rust/pull/90586)
116+
117+
### [New RFCs](https://github.com/rust-lang/rfcs/pulls)
118+
119+
* [RFC: Alignment niches for references types.](https://github.com/rust-lang/rfcs/pull/3204)
120+
121+
## Upcoming Events
122+
123+
Rusty Events between 12/01-12/15 🦀
124+
125+
### Online
126+
127+
* [December 3, 2021 | New York City, NY, US | **Getting started in aerospace with Rust 🦀** | NewSpace NYC](https://www.meetup.com/NewSpace-NYC/events/282320805).
128+
* [December 7, 2021 | Berlin, DE | **Rust Hack and Learn** | Berline.rs, a Berlin-local Rust community](https://berline.rs/2021/12/07/rust-hack-and-learn.html)
129+
* [December 7, 2021 | Buffalo, NY, US | **First Tuesdays: Buffalo Rust User Group** | Buffalo Rust Meetup](https://www.meetup.com/Buffalo-Rust-Meetup/events/281833990/)
130+
* [December 7, 2021 | South Padre Island, TX, US | **Tuesdays - Book #24 - Rust for Rustaceans - Chapter 1** | Los Gatos Reading Group (South Padre Island)](https://www.meetup.com/the-south-padre-island-reading-group/events/281685234/)
131+
* [December 8, 2021 | Los Angeles, CA, US | **Introduction to Photogrammetry with Geordon Worley [Virtual] Dec. 2021** | Rust Los Angeles](https://www.meetup.com/Rust-Los-Angeles/events/281944671)
132+
* [December 8, 2021 | Los Angeles, CA, US | **Rust Computer Vision Project with Geordon Worley** | Rust Los Angeles](https://www.meetup.com/Rust-Los-Angeles/events/281944671/)
133+
* [December 8, 2021 | Stuttgart, DE | **Rust-Meetup** | Rust Community Stuttgart](https://www.meetup.com/Rust-Community-Stuttgart/events/282009864)
134+
* [December 9, 2021 | Columbus, OH, US | **Second Thursdays: Monthly Meetup** | Columbus Rust Society](https://www.meetup.com/columbus-rs/events/dpkhgryccqbmb/)
135+
* [December 9, 2021 | London, UK | **Rust London x TrueLayer Takeover & Christmas Party** | Rust London User Group](https://www.meetup.com/Rust-London-User-Group/events/282343516/)
136+
* [December 9, 2021 | Oslo, NO | **Rust Oslo @ Rebel w/Carol (Nichols || Goulding)**| Rust Oslo](https://www.meetup.com/Rust-Oslo/events/281877640/)
137+
* [December 9, 2021 | San Diego, CA, US | **San Diego Rust December 2021 Tele-Meetup** | San Diego Rust](https://www.meetup.com/San-Diego-Rust/events/282433355)
138+
* [December 10, 2021 | Chicago, IL, US | **8LU Keynote by Eric Smith - Write Your Game in Rust!** | 8th Light University](https://www.meetup.com/8th-light-university/events/282381279)
139+
* [December 11, 2021 | Nairobi, KE | **Rust Catchup 2021** | Rust Nairobi](https://www.meetup.com/Rust-Nairobi/events/282377713/)
140+
* [December 13, 2021 | Eugene, OR, US | **Mondays - Book-Club - Rust Programming Language** | Functional Programming - Eugene](https://www.meetup.com/fp-eug/events/282533185)
141+
* [December 14, 2021 | South Padre Island, TX, US | **Tuesdays - Book #24 - Rust for Rustaceans - Chapter 1 (session 2)** | Los Gatos Reading Group (South Padre Island)](https://www.meetup.com/the-south-padre-island-reading-group/events/282555459/)
142+
* [December 14, 2021 | Seattle, WA, US | **Monthly Meetup** | Seattle Rust Meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/281875277)
143+
144+
### North America
145+
146+
* [December 14, 2021 | Minneapolis, MN, US | **First Meetup** | Minneapolis Rust Meetup Group](https://www.meetup.com/minneapolis-rust-meetup-group/events/282526064/)
147+
* [December 14, 2021 | New York, NY, US | **Presentation by Chelsea E. Manning: Rust on Arduino-style microcontrollers** | Rust NYC](https://www.meetup.com/Rust-NYC/events/282478738/)
148+
149+
150+
### Europe
151+
152+
* [December 3, 2021 | Moscow, RU | **Rust Con** | RustCon.ru](https://rustcon.ru)
153+
* [December 9, 2021 | London, UK | **Rust London x TrueLayer Takeover & Christmas Party** | Rust London User Group](https://www.meetup.com/Rust-London-User-Group/events/282343516/)
154+
155+
If you are running a Rust event please add it to the [calendar] to get
156+
it mentioned here. Please remember to add a link to the event too.
157+
Email the [Rust Community Team][community] for access.
158+
159+
[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com
160+
[community]: mailto:[email protected]
161+
162+
# Rust Jobs
163+
164+
*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!*
165+
166+
# Quote of the Week
167+
168+
> v2 of the patch-series "to add support for Rust as a second language to the Linux kernel" was posted to LKML \[..\]
169+
>
170+
> There have been several improvements to the overall Rust support since RFC and v2 described in the linked mail.
171+
172+
[Thorsten Leemhuis on twitter](https://twitter.com/kernellogger/status/1467874273582886921?s=20)
173+
174+
llogiq unanimously suggested and voted that this be our quote for this week.
175+
176+
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
177+
178+
*This Week in Rust is edited by: [nellshamrell](https://github.com/nellshamrell), [llogiq](https://github.com/llogiq), [cdmistman](https://github.com/cdmistman), [ericseppanen](https://github.com/ericseppanen), [extrawurst](https://github.com/extrawurst), [andrewpollack](https://github.com/andrewpollack), [U007D](https://github.com/U007D), [kolharsam](https://github.com/kolharsam), [joelmarcey](https://github.com/joelmarcey), [mariannegoldin](https://github.com/mariannegoldin).*
179+
180+
*Email list hosting is sponsored by [The Rust Foundation](https://foundation.rust-lang.org/)*
181+
182+
<small>[Discuss on r/rust](https://www.reddit.com/r/rust/comments/k5nsab/this_week_in_rust_367/)</small>

draft/twir-420_fcp-and-rfc.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)