@@ -59,19 +59,18 @@ The second feature is very small, and comes from [RFC 218]. Before Rust 1.8, a
59
59
60
60
``` rust
61
61
struct Foo ; // works
62
- struct Bar { }; // error
62
+ struct Bar { } // error
63
63
```
64
64
65
65
[ RFC 218 ] : https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md
66
66
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
68
68
originally disallowed for consistency with other empty declarations, as well as
69
69
a parsing ambiguity. However, that ambiguity is non-existent in post-1.0 Rust,
70
70
and macro authors saw additional complexity due to needing a special-case. Also,
71
71
users who do active development would sometimes switch between empty and
72
72
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.
75
74
76
75
On the Windows front, 32-bit MSVC builds [ now implement unwinding] . This moves
77
76
` 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
85
84
do. We will talk about this in release notes more once it’s completely done,
86
85
for now, please read the GitHub issue for more details.
87
86
88
- [ initial support landed ] : https://github.com/rust-lang/rust/pull/30448
87
+ [ initial support landed ] : https://github.com/rust-lang/rust/pull/31123
89
88
90
89
#### Library stabilizations
91
90
@@ -110,18 +109,24 @@ See the [detailed release notes][notes] for more.
110
109
111
110
#### Cargo features
112
111
113
- There were a few small updates to Cargo:
112
+ There were a few updates to Cargo:
114
113
115
114
* [ ` cargo init ` ] ( https://github.com/rust-lang/cargo/pull/2081 ) can be used to
116
115
start a Cargo project in your current working directory, rather than making a
117
116
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 ) .
119
123
120
- See the release notes for the full list of changes.
121
124
122
- ### Contributors to 1.7
125
+ See the [ detailed release notes] [ notes ] for more.
126
+
127
+ ### Contributors to 1.8
123
128
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!
125
130
126
131
* Aaron Turon
127
132
* Abhishek Chanda
0 commit comments