Skip to content

Commit 0d8fbda

Browse files
committed
C/QotW + notable changes
1 parent 1eef488 commit 0d8fbda

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

draft/2021-08-04-this-week-in-rust.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ If you find any errors in this week's issue, [please submit a PR](https://github
3535

3636
## Crate of the Week
3737

38-
This week's crate is [loadstone](https://crates.io/crates/loadstone), a bare-metal bootloader for embedded systems.
38+
This week's crate is [sycamore](https://crates.io/crates/sycamore), a crate for making web applications using WebAssembly..
3939

40-
Thanks to [Andres O. Vela](https://users.rust-lang.org/t/crate-of-the-week/2704/940) for the suggestion.
40+
Thanks to [Luke Chu](https://users.rust-lang.org/t/crate-of-the-week/2704/941) for the self-suggestion.
4141

4242
[Submit your suggestions and votes for next week][submit_crate]!
4343

@@ -56,33 +56,37 @@ If you are a Rust project owner and are looking for contributors, please submit
5656

5757
## Updates from Rust Core
5858

59-
287 pull requests were [merged in the last week][merged]
60-
61-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2021-07-19..2021-07-26
62-
63-
* [recognize bounds on impls as const bounds](https://github.com/rust-lang/rust/pull/87273)
64-
* [warn on inert attributes used on bang macro invocation](https://github.com/rust-lang/rust/pull/87296)
65-
* [better diagnostics with mismatched types due to implicit static lifetime](https://github.com/rust-lang/rust/pull/87244)
66-
* [improve `SortedMap::get_by_key_enumerated` more](https://github.com/rust-lang/rust/pull/86429)
67-
* [`VecMap::get_value_matching` should return just one element](https://github.com/rust-lang/rust/pull/86410)
68-
* [don't create references to uninitialized data in `List::from_arena`](https://github.com/rust-lang/rust/pull/87268)
69-
* [miri: better errors for negative out-of-bounds offsets](https://github.com/rust-lang/miri/pull/1853)
70-
* [miri: better ptr-out-of-bounds errors](https://github.com/rust-lang/rust/pull/87224)
71-
* [MIR opt: separate constant predecessors of a switch](https://github.com/rust-lang/rust/pull/85646)
72-
* [stabilize `into_parts()` and `into_error()`](https://github.com/rust-lang/rust/pull/87175)
73-
* [stabilize `impl From<[(K, V); N]> for HashMap` (and friends)](https://github.com/rust-lang/rust/pull/84111)
74-
* [remove `Option` from `BufWriter`](https://github.com/rust-lang/rust/pull/87171)
75-
* [implement `TrustedLen` for `Flatten`/`FlatMap` if the `U: IntoIterator == [T; N]`](https://github.com/rust-lang/rust/pull/87168)
76-
* [add `Stdin::lines`, `Stdin::split` forwarder methods](https://github.com/rust-lang/rust/pull/86847)
77-
* [add support for custom allocator in `VecDeque`](https://github.com/rust-lang/rust/pull/86595)
78-
* [hashbrown: make rehashing and resizing less generic](https://github.com/rust-lang/hashbrown/pull/282)
79-
* [hashbrown: inline small functions](https://github.com/rust-lang/hashbrown/pull/283)
80-
* [clippy: add check if ty `has_escaping_bound_vars` in `zero_sized_map_values` lint](https://github.com/rust-lang/rust-clippy/pull/7470)
81-
* [clippy: improve conflicting rlibs error again](https://github.com/rust-lang/rust-clippy/pull/7495)
59+
324 pull requests were [merged in the last week][merged]
60+
61+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2021-07-26..2021-08-02
62+
63+
* [`#[derive(Default)]` on enums with a `#[default]` attribute](https://github.com/rust-lang/rust/pull/86735) (RFC [#3107](https://rust-lang.github.io/rfcs/3107-derive-enum-default.html))
64+
* [fix issue with autofix for ambiguous associated function from Rust 2021 prelude when struct is generic](https://github.com/rust-lang/rust/pull/87557)
65+
* [add flag to configure `large_assignments` lint](https://github.com/rust-lang/rust/pull/86450)
66+
* [make const `panic!("..")` work in Rust 2021](https://github.com/rust-lang/rust/pull/86998)
67+
* [suggest removing unnecessary `&mut` as help message](https://github.com/rust-lang/rust/pull/87453)
68+
* [suggest `;` on parse error where applicable](https://github.com/rust-lang/rust/pull/87436)
69+
* [fix invalid suggestions for non-ASCII characters in byte constants](https://github.com/rust-lang/rust/pull/87659)
70+
* [tweak opaque type mismatch error](https://github.com/rust-lang/rust/pull/87673)
71+
* [bail on any found recursion when expanding opaque types](https://github.com/rust-lang/rust/pull/87546)
72+
* [polonius: compute subset errors everywhere](https://github.com/rust-lang/polonius/pull/156)
73+
* [MIR borrowck does not generate lifetime variables for `'static` lifetimes during opaque type resolution](https://github.com/rust-lang/rust/pull/87483)
74+
* [tweak borrowing suggestion in `for` loop](https://github.com/rust-lang/rust/pull/87559)
75+
* [remove unsound `TrustedRandomAccess` implementations](https://github.com/rust-lang/rust/pull/85874)
76+
* [BTree: lazily locate leaves in rangeless iterators](https://github.com/rust-lang/rust/pull/86031)
77+
* [partially stabilize `const_slice_first_last`](https://github.com/rust-lang/rust/pull/86593)
78+
* [stabilize `core::task::ready!`](https://github.com/rust-lang/rust/pull/81050)
79+
* [stabilize `const_fn_transmute`, `const_fn_union`](https://github.com/rust-lang/rust/pull/85769)
80+
* [implement `fold()` on `array::IntoIter` to improve `flatten().collect()` perf](https://github.com/rust-lang/rust/pull/87431)
81+
* [optimize `fmt::PadAdapter::wrap`](https://github.com/rust-lang/rust/pull/87052)
82+
* [remove `P: Unpin` bound on `impl Future for Pin`](https://github.com/rust-lang/rust/pull/81363)
83+
* [futures: use `futuresordered` in `join_all`](https://github.com/rust-lang/futures-rs/pull/2412)
84+
* [clippy: cover `Result` on `map_flatten` lint](https://github.com/rust-lang/rust-clippy/pull/7522)
85+
* [clippy: fix `while_let_on_iterator`](https://github.com/rust-lang/rust-clippy/pull/7520)
8286

8387
### Rust Compiler Performance Triage
8488

85-
A very quiet week with only improvements. There was one possible regression, but it was removed from consideration due to only barely impacting a somewhat noisy stress-test benchmark. Untriaged pull requests continue to pile up, but there is still not a good process for dealing with them.
89+
A very quiet week with only improvements. There was one possible regression, but it was removed from consideration due to only barely impacting a somewhat noisy stress-test benchmark. Untriaged pull requests continue to pile up, but there is still not a good process for dealing with them.
8690

8791
Triage done by **@rylev**.
8892
Revision range: [5c0ca08..998cfe5](https://perf.rust-lang.org/?start=5c0ca08c662399c1c864310d1a20867d3ab68027&end=998cfe5aad7c21eb19a4bca50f05a13354706970&absolute=false&stat=instructions%3Au)
@@ -151,11 +155,7 @@ Email the [Rust Community Team][community] for access.
151155

152156
# Quote of the Week
153157

154-
> We were able to verify the safety of Rust's type system and thus show how Rust automatically and reliably prevents entire classes of programming errors
155-
156-
[Ralf Jung on Eureka Alert Science News](https://www.eurekalert.org/pub_releases/2021-07/su-cs071521.php)
157-
158-
Thanks to [Henrik Tougaard](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1084) for the suggestion!
158+
Sadly, this week saw no quote of the week nominations.
159159

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

0 commit comments

Comments
 (0)