summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikrant Chaudhary <nasa42@gmail.com>2019-07-10 04:59:45 +0900
committerGitHub <noreply@github.com>2019-07-10 04:59:45 +0900
commit98d611a996a8de933b5277a14d613212df756c93 (patch)
treecd68fdfc435759a1389d25d1b062f0d50f7e82fc
parent86b370e1aceed7f965382c9f655a7c729f2e1437 (diff)
parente2ebf9570252541f2b4d92914f8df424055c9a66 (diff)
Merge pull request #952 from llogiq/twir-294
C/QotW+notable changes
-rw-r--r--drafts/2019-07-09-this-week-in-rust.md52
1 files changed, 25 insertions, 27 deletions
diff --git a/drafts/2019-07-09-this-week-in-rust.md b/drafts/2019-07-09-this-week-in-rust.md
index bd4fc75..7de10fb 100644
--- a/drafts/2019-07-09-this-week-in-rust.md
+++ b/drafts/2019-07-09-this-week-in-rust.md
@@ -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]!
@@ -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
@@ -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)