You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft/2024-10-23-this-week-in-rust.md
+100-3Lines changed: 100 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,9 @@ and just ask the editors to select the category.
49
49
50
50
## Crate of the Week
51
51
52
-
<!-- COTW goes here -->
52
+
This week's crate is [trait-gen](https://crates.io/crates/trait-gen), an attribute macro to generate the trait implementations for several types without needing custom declarative macros, code repetition, or blanket implementations.
53
+
54
+
Thanks to [Luke Peterson](https://users.rust-lang.org/t/crate-of-the-week/2704/1358) for the suggestion!
53
55
54
56
[Please submit your suggestions and votes for next week][submit_crate]!
55
57
@@ -100,7 +102,98 @@ If you are an event organizer hoping to expand the reach of your event, please s
100
102
101
103
## Updates from the Rust Project
102
104
103
-
<!-- Rust updates go here -->
105
+
464 pull requests were [merged in the last week][merged]
*[rustfmt: apply 2024 version sort algorithm to mods](https://github.com/rust-lang/rustfmt/pull/6368)
181
+
*[rustfmt: defer changes for zero argument functions until `style_edition=2027`](https://github.com/rust-lang/rustfmt/pull/6362)
182
+
*[clippy: add lint for unnecessary lifetime bounded `&str` return](https://github.com/rust-lang/rust-clippy/pull/13395)
183
+
*[clippy: allow to go through clippy lints page without javascript](https://github.com/rust-lang/rust-clippy/pull/13539)
184
+
*[clippy: change the category of `manual_is_power_of_two` to `pedantic`](https://github.com/rust-lang/rust-clippy/pull/13553)
185
+
*[clippy: stop linting `manual_bits` in any macro invocation](https://github.com/rust-lang/rust-clippy/pull/13564)
186
+
*[rust-analyzer: add wrap/unwrap return type in Option](https://github.com/rust-lang/rust-analyzer/pull/18294)
187
+
*[rust-analyzer: clamp `Position::character` to line length](https://github.com/rust-lang/rust-analyzer/pull/18243)
188
+
*[rust-analyzer: do not consider match/let/ref of place that evaluates to ! to diverge, disallow coercions from them too](https://github.com/rust-lang/rust-analyzer/pull/18278)
189
+
*[rust-analyzer: better completions for extern blocks](https://github.com/rust-lang/rust-analyzer/pull/18360)
190
+
*[rust-analyzer: goto definition on range operators](https://github.com/rust-lang/rust-analyzer/pull/18362)
191
+
*[rust-analyzer: initial support for `safe_kw` in extern blocks](https://github.com/rust-lang/rust-analyzer/pull/18350)
192
+
*[rust-analyzer: support initializeStopped setting](https://github.com/rust-lang/rust-analyzer/pull/18359)
193
+
*[rust-analyzer: fix status bar message not being marked markdown](https://github.com/rust-lang/rust-analyzer/pull/18366)
194
+
*[rust-analyzer: classify `safe` as a contextual keyword](https://github.com/rust-lang/rust-analyzer/pull/18354)
195
+
*[rust-analyzer: fix token downmapping failing for include! inputs](https://github.com/rust-lang/rust-analyzer/pull/18361)
196
+
*[rust-analyzer: private items are shown in completions for modules in fn body](https://github.com/rust-lang/rust-analyzer/pull/18337)
104
197
105
198
### Rust Compiler Performance Triage
106
199
@@ -281,7 +374,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
281
374
282
375
# Quote of the Week
283
376
284
-
<!-- QOTW goes here -->
377
+
> Your problem is that you’re trying to borrow from the dead.
378
+
379
+
– [/u/masklinn on /r/rust](https://old.reddit.com/r/rust/comments/1g3a2ul/hey_rustaceans_got_a_question_ask_here_422024/lrzqed7/)
380
+
381
+
Thanks to [Maciej Dziardziel](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1622) for the suggestion!
285
382
286
383
[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328)
0 commit comments