Skip to content

C/QotW+notable changes #952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 25 additions & 27 deletions drafts/2019-07-09-this-week-in-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ If you find any errors in this week's issue, [please submit a PR](https://github

# Crate of the Week

This week's crate is [aljabar](https://github.com/maplant/aljabar), an extremely generic linear algebra libary. Thanks to [Vikrant](https://users.rust-lang.org/t/crate-of-the-week/2704/574) for the suggestion!
This week's CotW is not a crate but [Rustexp](https://rustexp.lpil.uk/) site, a Rust regular expression editor & tester.
Thanks to [carols10cents](https://github.com/cmr/this-week-in-rust/issues/939) for the suggestion!

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

Expand Down Expand Up @@ -49,29 +50,22 @@ If you are a Rust project owner and are looking for contributors, please submit

# Updates from Rust Core

196 pull requests were [merged in the last week][merged]

[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-06-24..2019-07-01

* [Clean up query cache code](https://github.com/rust-lang/rust/pull/59722)
* [Don't ICE on mutable zst slices](https://github.com/rust-lang/rust/pull/62094)
* [syntax: Remove `ast::Guard`](https://github.com/rust-lang/rust/pull/62075)
* [Always parse `async unsafe fn` + properly ban in 2015](https://github.com/rust-lang/rust/pull/62241)
* [Call out explicitly that general read needs to be called with an initialized buffer](https://github.com/rust-lang/rust/pull/62102)
* [Fix error counting](https://github.com/rust-lang/rust/pull/62055)
* [Use ecx for const-prop local storage](https://github.com/rust-lang/rust/pull/62012)
* [Fix HIR visit order](https://github.com/rust-lang/rust/pull/61572)
* [Extend the `#[must_use]` lint to boxed types](https://github.com/rust-lang/rust/pull/62228)
* [Extend the `#[must_use]` lint to arrays](https://github.com/rust-lang/rust/pull/62235)
* [Clean up MIR drop generation](https://github.com/rust-lang/rust/pull/61872)
* [Use a more efficient iteration order for backward dataflow](https://github.com/rust-lang/rust/pull/62063)
* [Use a more efficient iteration order for forward dataflow](https://github.com/rust-lang/rust/pull/62062)
* [save-analysis: Use buffered writes](https://github.com/rust-lang/rust/pull/62164)
* [Remove `FnBox`](https://github.com/rust-lang/rust/pull/62043)
* [rustdoc: Remove unused derives and variants](https://github.com/rust-lang/rust/pull/62224)
* [rustdoc: Prevent panic when sysroot cannot be computed](https://github.com/rust-lang/rust/pull/61459)
* [backtrace: More improvements to gimli support](https://github.com/rust-lang/backtrace-rs/pull/217)
* [rustup: Switch to `std::fs::read_to_string`](https://github.com/rust-lang/rustup.rs/pull/1906)
237 pull requests were [merged in the last week][merged]

[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2019-07-01..2019-07-08

* [Stabilize support for Profile-guided Optimization](https://github.com/rust-lang/rust/pull/61268) (Hooray!)
* [Break out of the correct number of scopes in loops](https://github.com/rust-lang/rust/pull/62388)
* [Improve error span for async type inference error](https://github.com/rust-lang/rust/pull/62383)
* [Remove `hir::ExprKind::While`](https://github.com/rust-lang/rust/pull/61988)
* [Generalize impl trait to permit multiple lifetime bounds](https://github.com/rust-lang/rust/pull/61775)
* [Support stability and deprecation checking for all macros](https://github.com/rust-lang/rust/pull/62042)
* [Implement `Option::contains` and `Result::contains`](https://github.com/rust-lang/rust/pull/62356)
* [implement `Iterator::last` via `DoubleEndedIterator::next_back` for some libcore types](https://github.com/rust-lang/rust/pull/62316)
* [Add `Vec::leak`](https://github.com/rust-lang/rust/pull/62196)
* [Implement `mem::`{`zeroed`, `uninitialized`} in terms of `MaybeUninit`](https://github.com/rust-lang/rust/pull/62150)
* [`nth_back` for `chunks_exact`](https://github.com/rust-lang/rust/pull/62064)
* [Only call the closure parameter of `Iterator::is_sorted_by_key` once per item](https://github.com/rust-lang/rust/pull/62473)

## Approved RFCs

Expand Down Expand Up @@ -138,11 +132,15 @@ Email the [Rust Community Team][community] for access.

# Quote of the Week

> Python and Go pick up your trash for you. C lets you litter everywhere, but throws a fit when it steps on your banana peel. Rust slaps you and demands that you clean up after yourself.

– [Nicholas Hahn on his blog](http://www.nicolas-hahn.com/python/go/rust/programming/2019/07/01/program-in-python-go-rust/)

Thanks to [UtherII](https://users.rust-lang.org/t/twir-quote-of-the-week/328/662) for the suggestion!
> > Are we trying to steal the JVM’s “compile once run everywhere” concept?

> No, we just borrow it mutably.

– [minno & llogiq on /r/rust](https://reddit.com/r/rust/comments/cap8sy/rust_136_stabilized_the_wasm32wasi_target/etahiix/?context=8&depth=9)

Thanks to [Will Page](https://users.rust-lang.org/t/twir-quote-of-the-week/328/664) for the suggestion!

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

Expand Down