Skip to content

Commit 732217a

Browse files
Merge pull request rust-lang#6507 from llogiq/twir-592
C/QotW and notable changes
2 parents 7cd20fb + c4f745f commit 732217a

File tree

1 file changed

+74
-3
lines changed

1 file changed

+74
-3
lines changed

draft/2025-03-26-this-week-in-rust.md

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ and just ask the editors to select the category.
6868

6969
## Crate of the Week
7070

71-
<!-- COTW goes here -->
71+
This week's crate is [jiff](https://crates.io/crates/jiff), a datetime library for Rust.
72+
73+
Thanks to [Filip T](https://users.rust-lang.org/t/crate-of-the-week/2704/1420) for the suggestion!
7274

7375
[Please submit your suggestions and votes for next week][submit_crate]!
7476

@@ -117,7 +119,72 @@ If you are an event organizer hoping to expand the reach of your event, please s
117119

118120
## Updates from the Rust Project
119121

120-
<!-- Rust updates go here -->
122+
496 pull requests were [merged in the last week][merged]
123+
124+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-03-18..2025-03-25
125+
126+
#### Compiler
127+
128+
* [lower to a `memset(undef)` when `Rvalue::Repeat` repeats uninit](https://github.com/rust-lang/rust/pull/138634)
129+
130+
#### Library
131+
132+
* [`MaybeUninit` inherent slice methods part 2](https://github.com/rust-lang/rust/pull/135394)
133+
* [core/slice: mark some `split_off` variants unstably const](https://github.com/rust-lang/rust/pull/138540)
134+
* [core: optimize `RepeatN`](https://github.com/rust-lang/rust/pull/138833)
135+
* [implement default methods for `io::Empty` and `io::Sink`](https://github.com/rust-lang/rust/pull/137051)
136+
* [optimize `io::Write::write_fmt` for constant strings](https://github.com/rust-lang/rust/pull/138650)
137+
* [simplify `PartialOrd` on tuples containing primitives](https://github.com/rust-lang/rust/pull/138135)
138+
* [reduce `FormattingOptions` to 64 bits](https://github.com/rust-lang/rust/pull/136974)
139+
140+
#### Cargo
141+
142+
* [add custom completer for cargo `<TAB>` to complete aliases defined in config.toml](https://github.com/rust-lang/cargo/pull/15319)
143+
144+
#### Rustdoc
145+
146+
* [be more strict about "Methods from Deref"](https://github.com/rust-lang/rust/pull/138574)
147+
* [gate unstable `doc(cfg())` predicates](https://github.com/rust-lang/rust/pull/138293)
148+
* [use own logic to print `#[repr(..)]` attributes in JSON output](https://github.com/rust-lang/rust/pull/138018)
149+
150+
#### Clippy
151+
152+
* [`wildcard_imports`: lint on `pub use` if asked to](https://github.com/rust-lang/rust-clippy/pull/14182)
153+
* [add MSRV check for `question_mark`](https://github.com/rust-lang/rust-clippy/pull/14436)
154+
* [add `ignore_without_reason` lint](https://github.com/rust-lang/rust-clippy/pull/13931)
155+
* [emit `collapsible_match` at the right node](https://github.com/rust-lang/rust-clippy/pull/14311)
156+
* [expand `neg_multiply` to lint float numbers as well](https://github.com/rust-lang/rust-clippy/pull/14447)
157+
* [fix suggestion for assignments have enclosing parentheses under `needless_late_init`](https://github.com/rust-lang/rust-clippy/pull/14169)
158+
* [fix: `borrow_deref_ref` suggests wrongly when coerce to mut](https://github.com/rust-lang/rust-clippy/pull/14403)
159+
* [fix: `filter_map_bool_then` suggest wrongly when the closure cannot be decompose directly](https://github.com/rust-lang/rust-clippy/pull/14370)
160+
* [fix: `manual_find` suggests wrongly when early return](https://github.com/rust-lang/rust-clippy/pull/14405)
161+
* [fix: `missing_const_for_fn` false positive on unstable const traits](https://github.com/rust-lang/rust-clippy/pull/14294)
162+
* [fix: `nonminimal_bool` wrongly showed the macro definition](https://github.com/rust-lang/rust-clippy/pull/14424)
163+
* [fix: `option_if_let_else` false positive when value partially moved](https://github.com/rust-lang/rust-clippy/pull/14209)
164+
* [fix: `redundant_clone` false positive on `enum` cast](https://github.com/rust-lang/rust-clippy/pull/14395)
165+
* [improve `string_to_string` lint in case it is in a map call](https://github.com/rust-lang/rust-clippy/pull/14396)
166+
* [lint more cases in `collapsible_if`](https://github.com/rust-lang/rust-clippy/pull/14231)
167+
* [make `never_loop` applicability more flexible](https://github.com/rust-lang/rust-clippy/pull/14203)
168+
* [move `uninlined_format_args` back to `style`](https://github.com/rust-lang/rust-clippy/pull/14160)
169+
* [reinstate `single_match`/`single_match_else` lints with comments](https://github.com/rust-lang/rust-clippy/pull/14420)
170+
* [suggest `is_some_and` instead of `map_or` in `case_sensitive_file_extension_comparions`](https://github.com/rust-lang/rust-clippy/pull/14358)
171+
* [unify `manual_unwrap_or` and `manual_unwrap_or_default` code](https://github.com/rust-lang/rust-clippy/pull/14332)
172+
* [use `code` for references to other lints in `as_conversions` docs](https://github.com/rust-lang/rust-clippy/pull/14283)
173+
174+
#### Rust-Analyzer
175+
176+
* [fix ide-assist `let else` to `if let else`](https://github.com/rust-lang/rust-analyzer/pull/19433)
177+
* [add diagnostic for missing ambiguity error for impl trait](https://github.com/rust-lang/rust-analyzer/pull/19347)
178+
* [add postfix completion for const block](https://github.com/rust-lang/rust-analyzer/pull/19397)
179+
* [add text edit support for return type hints on non-block body closures](https://github.com/rust-lang/rust-analyzer/pull/19348)
180+
* [analysis-stats: emit lines of code and item tree counts for workspace; dependencies](https://github.com/rust-lang/rust-analyzer/pull/19359)
181+
* [parse `unsafe` record fields](https://github.com/rust-lang/rust-analyzer/pull/19388)
182+
* [fix missing syntax highlighting for `&raw const` / `&raw mut` in all files](https://github.com/rust-lang/rust-analyzer/pull/19400)
183+
* [fix closure return inlayhints using macro ranges](https://github.com/rust-lang/rust-analyzer/pull/19435)
184+
* [handle multiple `#[repr(..)]` attrs correctly](https://github.com/rust-lang/rust-analyzer/pull/19416)
185+
* [properly calculate the layouts of tuple ptrs whose last fields are DST](https://github.com/rust-lang/rust-analyzer/pull/19413)
186+
* [render layout and other extra information on hovering `Self`](https://github.com/rust-lang/rust-analyzer/pull/19419)
187+
* [speed up resolving a "Generate delegate method" assist](https://github.com/rust-lang/rust-analyzer/pull/19362)
121188

122189
### Rust Compiler Performance Triage
123190

@@ -314,7 +381,11 @@ Please see the latest [Who's Hiring thread on r/rust](INSERT_LINK_HERE)
314381

315382
# Quote of the Week
316383

317-
<!-- QOTW goes here -->
384+
> Did it work? It’s Rust, so it worked on the first try!
385+
386+
[James Calligeros on the Asahi progress report](https://asahilinux.org/2025/03/progress-report-6-14/)
387+
388+
Thanks to [yerke](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1663) for the suggestion!
318389

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

0 commit comments

Comments
 (0)