Skip to content

Commit 3d20499

Browse files
committed
fixes per feedback
1 parent a46cc2c commit 3d20499

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

_posts/2016-04-14-Rust-1.8.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,18 @@ The second feature is very small, and comes from [RFC 218]. Before Rust 1.8, a
5959

6060
```rust
6161
struct Foo; // works
62-
struct Bar { }; // error
62+
struct Bar { } // error
6363
```
6464

6565
[RFC 218]: https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md
6666

67-
The second form is no longer an error, and is equivalent to the first. This was
67+
The second form is no longer an error. This was
6868
originally disallowed for consistency with other empty declarations, as well as
6969
a parsing ambiguity. However, that ambiguity is non-existent in post-1.0 Rust,
7070
and macro authors saw additional complexity due to needing a special-case. Also,
7171
users who do active development would sometimes switch between empty and
7272
non-empty versions of a struct, and the extra work and diffs involved was less
73-
than ideal. Allowing both forms is slightly less consistent, but the ergonomics
74-
of these two cases was deemed worth it.
73+
than ideal.
7574

7675
On the Windows front, 32-bit MSVC builds [now implement unwinding]. This moves
7776
`i686-pc-windows-msvc` to a Tier 1 platform.
@@ -85,7 +84,7 @@ and based on Cargo. It is not yet the default, and there is much more work to
8584
do. We will talk about this in release notes more once it’s completely done,
8685
for now, please read the GitHub issue for more details.
8786

88-
[initial support landed]: https://github.com/rust-lang/rust/pull/30448
87+
[initial support landed]: https://github.com/rust-lang/rust/pull/31123
8988

9089
#### Library stabilizations
9190

@@ -110,18 +109,24 @@ See the [detailed release notes][notes] for more.
110109

111110
#### Cargo features
112111

113-
There were a few small updates to Cargo:
112+
There were a few updates to Cargo:
114113

115114
* [`cargo init`](https://github.com/rust-lang/cargo/pull/2081) can be used to
116115
start a Cargo project in your current working directory, rather than making a
117116
new subdirectory like `cargo new`.
118-
* `Cargo.toml` now has [keys for `-v` and `--color`](https://github.com/rust-lang/cargo/pull/2397)
117+
* [`cargo metadata`](https://github.com/rust-lang/cargo/pull/2196) is another
118+
new subcommand for fetching metadata about a project.
119+
* `.cargo/config` now has [keys for `-v` and
120+
`--color`](https://github.com/rust-lang/cargo/pull/2397)
121+
* Cargo’s ability to have target-specific dependencies [was
122+
enhanced](https://github.com/rust-lang/cargo/pull/2328).
119123

120-
See the release notes for the full list of changes.
121124

122-
### Contributors to 1.7
125+
See the [detailed release notes][notes] for more.
126+
127+
### Contributors to 1.8
123128

124-
We had 126 individuals contribute to 1.7. Thank you so much!
129+
We had 126 individuals contribute to 1.8. Thank you so much!
125130

126131
* Aaron Turon
127132
* Abhishek Chanda

0 commit comments

Comments
 (0)