Skip to content

Commit 7a522c4

Browse files
Merge pull request #6527 from llogiq/twir-593
C/QotW and notable changes
2 parents 7c951d5 + 9bd6e6a commit 7a522c4

File tree

1 file changed

+59
-3
lines changed

1 file changed

+59
-3
lines changed

draft/2025-04-02-this-week-in-rust.md

+59-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ and just ask the editors to select the category.
5454

5555
## Crate of the Week
5656

57-
<!-- COTW goes here -->
57+
This week's crate is [candystore](https://docs.rs/candystore/latest/candystore/), a fast, persistent key-value store that does not require LSM or WALs.
58+
59+
Thanks to [Tomer Filiba](https://users.rust-lang.org/t/crate-of-the-week/2704/1424) for the self-suggestion!
5860

5961
[Please submit your suggestions and votes for next week][submit_crate]!
6062

@@ -113,7 +115,57 @@ If you are an event organizer hoping to expand the reach of your event, please s
113115

114116
## Updates from the Rust Project
115117

116-
<!-- Rust updates go here -->
118+
438 pull requests were [merged in the last week][merged]
119+
120+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2025-03-25..2025-04-01
121+
122+
#### Compiler
123+
124+
* [allow defining opaques in statics and consts](https://github.com/rust-lang/rust/pull/138911)
125+
* [avoid wrapping constant allocations in packed structs when not necessary](https://github.com/rust-lang/rust/pull/138503)
126+
* [perform less decoding if it has the same syntax context](https://github.com/rust-lang/rust/pull/129827)
127+
* [stabilize `precise_capturing_in_traits`](https://github.com/rust-lang/rust/pull/138128)
128+
* [uplift `clippy::invalid_null_ptr_usage` lint as `invalid_null_arguments`](https://github.com/rust-lang/rust/pull/119220)
129+
130+
#### Library
131+
132+
* [allow spawning threads after TLS destruction](https://github.com/rust-lang/rust/pull/138702)
133+
* [override PartialOrd methods for bool](https://github.com/rust-lang/rust/pull/138945)
134+
* [simplify expansion for `format_args!()`](https://github.com/rust-lang/rust/pull/139131)
135+
* [stabilize `const_cell`](https://github.com/rust-lang/rust/pull/137928)
136+
137+
#### Rustdoc
138+
139+
* [greatly simplify doctest parsing and information extraction](https://github.com/rust-lang/rust/pull/138104)
140+
* [rearrange `Item`/`ItemInner`](https://github.com/rust-lang/rust/pull/138927)
141+
142+
#### Clippy
143+
144+
* [new lint: `char_indices_as_byte_indices`](https://github.com/rust-lang/rust-clippy/pull/13435)
145+
* [add `manual_dangling_ptr` lint](https://github.com/rust-lang/rust-clippy/pull/14107)
146+
* [respect `#[expect]` and `#[allow]` within function bodies for `missing_panics_doc`](https://github.com/rust-lang/rust-clippy/pull/14407)
147+
* [do not make incomplete or invalid suggestions](https://github.com/rust-lang/rust-clippy/pull/14487)
148+
* [do not warn about shadowing in a destructuring assigment](https://github.com/rust-lang/rust-clippy/pull/14381)
149+
* [expand `obfuscated_if_else` to support `{then(), then_some()}.unwrap_or_default()`](https://github.com/rust-lang/rust-clippy/pull/14431)
150+
* [fix the primary span of `redundant_pub_crate` when flagging nameless items](https://github.com/rust-lang/rust-clippy/pull/14516)
151+
* [fix `option_if_let_else` suggestion when coercion requires explicit cast](https://github.com/rust-lang/rust-clippy/pull/14389)
152+
* [fix `unnested_or_patterns` suggestion in `let`](https://github.com/rust-lang/rust-clippy/pull/14401)
153+
* [make `collapsible_if` recognize the `let_chains` feature](https://github.com/rust-lang/rust-clippy/pull/14481)
154+
* [make `missing_const_for_fn` operate on non-optimized MIR](https://github.com/rust-lang/rust-clippy/pull/14003)
155+
* [more natural suggestions for `cmp_owned`](https://github.com/rust-lang/rust-clippy/pull/14247)
156+
* [`collapsible_if`: prevent including preceeding whitespaces if line contains non blanks](https://github.com/rust-lang/rust-clippy/pull/14480)
157+
* [properly handle expansion in `single_match`](https://github.com/rust-lang/rust-clippy/pull/14495)
158+
* [validate paths in `disallowed_*` configurations](https://github.com/rust-lang/rust-clippy/pull/14397)
159+
160+
#### Rust-Analyzer
161+
162+
* [allow crate authors to control completion of their things](https://github.com/rust-lang/rust-analyzer/pull/19375)
163+
* [avoid relying on `block_def_map()` needlessly](https://github.com/rust-lang/rust-analyzer/pull/19492)
164+
* [fix debug sourceFileMap when using cppvsdbg](https://github.com/rust-lang/rust-analyzer/pull/19475)
165+
* [fix `format_args` lowering using wrong integer suffix](https://github.com/rust-lang/rust-analyzer/pull/19460)
166+
* [fix a bug in orphan rules calculation](https://github.com/rust-lang/rust-analyzer/pull/19466)
167+
* [fix panic in progress due to splitting unicode incorrectly](https://github.com/rust-lang/rust-analyzer/pull/19490)
168+
* [use medium durability for crate-graph changes, high for library source files](https://github.com/rust-lang/rust-analyzer/pull/19451)
117169

118170
### Rust Compiler Performance Triage
119171

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

326378
# Quote of the Week
327379

328-
<!-- QOTW goes here -->
380+
> If you write a bug in your Rust program, Rust doesn’t blame you. Rust asks “how could the compiler have spotted that bug”.
381+
382+
[Ian Jackson blogging about Rust](https://diziet.dreamwidth.org/19480.html)
383+
384+
Despite a lack of suggestions, llogiq is quite pleased with his choice.
329385

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

0 commit comments

Comments
 (0)