Skip to content

Commit 8dc5b46

Browse files
authored
Merge pull request #1065 from llogiq/twir-312
C/QotW+notable changes
2 parents 058337e + 185cf28 commit 8dc5b46

File tree

1 file changed

+26
-34
lines changed

1 file changed

+26
-34
lines changed

drafts/2019-11-12-this-week-in-rust.md

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ Find all #Rust2020 posts at [Read Rust](https://readrust.net/rust-2020/).
2424

2525
# Crate of the Week
2626

27-
This week's crate is [displaydoc](https://github.com/yaahc/displaydoc), a procedural derive macro to implement `Display` by string-interpolating the doc comment.
27+
This week has multiple crates:
2828

29-
Thanks to [Willi Kappler](https://users.rust-lang.org/t/crate-of-the-week/2704/652) for the suggesion!
29+
* [accurate](https://crates.io/crates/accurate), accumulator types for more accurate (or even provably correct) sum and dot product of floatting-point numbers
30+
* [transfer](https://github.com/dureuill/transfer), a crate to transfer values between pinned instances.
31+
* [genawaiter](https://github.com/whatisaphone/genawaiter), a crate to allow generators on stable Rust.
32+
33+
Thanks to [Nestor Demeure](https://users.rust-lang.org/t/crate-of-the-week/2704/666) and [Willi Kappler](https://users.rust-lang.org/t/crate-of-the-week/2704/669) for the suggesion!
3034

3135
[Submit your suggestions and votes for next week][submit_crate]!
3236

@@ -55,35 +59,23 @@ If you are a Rust project owner and are looking for contributors, please submit
5559

5660
# Updates from Rust Core
5761

58-
217 pull requests were [merged in the last week][merged]
59-
60-
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-10-28..2019-11-04
61-
62-
* [Allow foreign exceptions to unwind through Rust code and Rust panics to unwind through FFI](https://github.com/rust-lang/rust/pull/65646)
63-
* [expand: Feature gate out-of-line modules in proc macro input](https://github.com/rust-lang/rust/pull/66078)
64-
* [Lint ignored `#[inline]` on function prototypes](https://github.com/rust-lang/rust/pull/65294)
65-
* [Improve the "try using a variant of the expected type" hint](https://github.com/rust-lang/rust/pull/65562)
66-
* [Use heuristics to recover parsing of missing `;`](https://github.com/rust-lang/rust/pull/65640)
67-
* [Point at local similarly named element and tweak references to variants](https://github.com/rust-lang/rust/pull/65421)
68-
* [Custom lifetime error for `impl` item doesn't conform to `trait`](https://github.com/rust-lang/rust/pull/65068)
69-
* [Add lint and tests for unnecessary parens around types](https://github.com/rust-lang/rust/pull/65112)
70-
* [Correct handling of type flags with `ConstValue::Placeholder`](https://github.com/rust-lang/rust/pull/65643)
71-
* [Use structured suggestion for unnecessary bounds in type aliases](https://github.com/rust-lang/rust/pull/65914)
72-
* [save-analysis: Account for async desugaring in async fn return types](https://github.com/rust-lang/rust/pull/65936)
73-
* [Switch CrateMetadata's source_map_import_info from RwLock to Once](https://github.com/rust-lang/rust/pull/65979)
74-
* [Don't use `eval_always` for miri queries used from codegen](https://github.com/rust-lang/rust/pull/65927)
75-
* [rustc: use IndexVec<DefIndex, T> instead of Vec<T>](https://github.com/rust-lang/rust/pull/65825)
76-
* [Make `promote_consts` emit the errors when required promotion fails](https://github.com/rust-lang/rust/pull/65946)
77-
* [Implement ordered/sorted iterators on `BinaryHeap`](https://github.com/rust-lang/rust/pull/65091)
78-
* [Make `*`{`const`, `mut`} `T>::offset_from` const fn](https://github.com/rust-lang/rust/pull/63810)
79-
* [Stabilize `float_to_from_bytes` feature](https://github.com/rust-lang/rust/pull/66002)
80-
* [hashbrown: Introduce `ahash-compile-time-rng` feature](https://github.com/rust-lang/hashbrown/pull/125)
81-
* [cargo: Add --filter-platform to `cargo metadata`](https://github.com/rust-lang/cargo/pull/7376)
82-
* [cargo: Fix `cargo fix` not showing colors](https://github.com/rust-lang/cargo/pull/7550)
83-
* [chalk: Remove delayed literals](https://github.com/rust-lang/chalk/pull/270)
84-
* [chalk: Add TypeName::Error variant](https://github.com/rust-lang/chalk/pull/269)
85-
* [chalk: Output multiple solutions](https://github.com/rust-lang/chalk/pull/263)
86-
* [rustdoc: Stabilize `cfg(doctest)`](https://github.com/rust-lang/rust/pull/63803)
62+
310 pull requests were [merged in the last week][merged]
63+
64+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-11-04..2019-11-11
65+
66+
* [compiler-builtins: Gate atomic intrinsics on presence of instructions](https://github.com/rust-lang/compiler-builtins/pull/324)
67+
* [Fix C aggregate-passing ABI on powerpc](https://github.com/rust-lang/rust/pull/66050)
68+
* [Reduce amount of errors given unclosed delimiter](https://github.com/rust-lang/rust/pull/65838)
69+
* [Remove LintBuffer from Session](https://github.com/rust-lang/rust/pull/65835)
70+
* [Rename `MethodSig``FnSig` and use it in `ItemKind::Fn`](https://github.com/rust-lang/rust/pull/66188)
71+
* [Cheaper doc comments](https://github.com/rust-lang/rust/pull/65750)
72+
* [Chalk: Implement lowering errors manually](https://github.com/rust-lang/chalk/pull/276)
73+
* [Use `ptr::drop_in_place` for `VecDeque::`{`truncate`, `clear`}](https://github.com/rust-lang/rust/pull/65933)
74+
* [Stabilize the `re_rebalance_coherence` feature](https://github.com/rust-lang/rust/pull/65879)
75+
* [Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get_mut`](https://github.com/rust-lang/rust/pull/65580)
76+
* [hashbrown: Remove BuildHasher requirement from raw entry APIs](https://github.com/rust-lang/hashbrown/pull/123)
77+
* [hashbrown: Optimize set union and intersection](https://github.com/rust-lang/hashbrown/pull/130)
78+
* [clippy: Remove plugin interface](https://github.com/rust-lang/rust-clippy/pull/4714)
8779

8880
## Approved RFCs
8981

@@ -160,11 +152,11 @@ Email the [Rust Community Team][community] for access.
160152

161153
# Quote of the Week
162154

163-
> I did manage to get this compile in the end - does anyone else find that the process of asking the question well on a public forum organizes their thoughts well enough to solve the problem?
155+
> In my experience, prayers are not a very effective concurrency primitive.
164156
165-
[David Mason on rust-users](https://users.rust-lang.org/t/std-phantomdata-and-unused-fields-in-structs/34271/3)
157+
[Robert Lord on his blog](https://lord.io/blog/2019/text-editing-hates-you-too/)
166158

167-
Thanks to [Daniel H-M](https://users.rust-lang.org/t/twir-quote-of-the-week/328/725) for the suggestion!
159+
Thanks to [Stephan Sokolow](https://users.rust-lang.org/t/twir-quote-of-the-week/328/727) for the suggestion!
168160

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

0 commit comments

Comments
 (0)