Skip to content

Commit f840e42

Browse files
committed
Address nits by @ScottAbbey
thanks! ❤️
1 parent 0acd1ef commit f840e42

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

_posts/2017-04-27-Rust-1.17.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,11 @@ let p = Point {
7878
That is, the `x, y` form will assume that its values are set to a varaible
7979
with the same name in its scope.
8080

81-
In a similar way, it's common for new Rustaceans to try to use `+` to add two
82-
`&str`s together. This doesn't work, you can only add `String + &str`. As
83-
such, [a new error message](https://github.com/rust-lang/rust/pull/39116)
84-
was added to help users who make this mistake:
81+
For another small quality of life improvement, it's common for new Rustaceans to
82+
try to use `+` to add two `&str`s together. This doesn't work, you can only add
83+
`String + &str`. As such, [a new error
84+
message](https://github.com/rust-lang/rust/pull/39116) was added to help users
85+
who make this mistake:
8586

8687
```rust
8788
// code
@@ -123,9 +124,9 @@ into Cargo](https://github.com/rust-lang/cargo/pull/3664), and will be assumed i
123124
and you can use `build = false` to opt out.
124125

125126
This release marks [the removal](https://github.com/rust-lang/rust/pull/39431)
126-
of the old `Makefile` based build system. We announced this new system in 1.15,
127-
which is written in Rust and primarily uses Cargo to drive the build, and now
128-
it is mature enough to always use.
127+
of the old `Makefile` based build system. The new system, announced in Rust
128+
1.15, is written in Rust and primarily uses Cargo to drive the build. It is now
129+
mature enough to be the only build system.
129130

130131
As part of that change, packages from crates.io can now be used within Rust's
131132
build system. The first one to be added was [mdBook](https://crates.io/crates/mdbook),
@@ -140,7 +141,7 @@ In addition, see those links to their respective repositories; they've been
140141
moved out of tree. Also, we've added a fourth book, still in-tree: [The
141142
Unstable Book](https://doc.rust-lang.org/stable/unstable-book/). This
142143
provides an overview of unstable features by name, contains links to their
143-
tracking issues, and may contain initial documentation of the feature.
144+
tracking issues, and may contain initial documentation.
144145
If there's a feature you want to see stabilized, please get involved on
145146
its tracking issue!
146147

0 commit comments

Comments
 (0)