@@ -22,9 +22,9 @@ appropriate page on our website, and check out the [detailed release notes for
22
22
23
23
### What's in 1.15.0 stable
24
24
25
- Rust 1.15 sees an _ extremely_ long -awaited feature land on stable: custom
25
+ Rust 1.15 sees an _ extremely_ eagerly -awaited feature land on stable: custom
26
26
derive! To review, in Rust, you've always been able to automatically implement
27
- a trait through the ` derive ` attribute:
27
+ some traits through the ` derive ` attribute:
28
28
29
29
``` rust
30
30
#[derive(Debug )]
@@ -136,21 +136,6 @@ infrastructure for supporting even more compile-time powers of Rust, nicknamed
136
136
137
137
#### Other improvements
138
138
139
- As a smaller improvement, [ ` ?Sized ` can now be used in ` where `
140
- clauses] ( https://github.com/rust-lang/rust/pull/37791 ) . In other words:
141
-
142
- ``` rust
143
- struct Foo <T : ? Sized > {
144
- f : T ,
145
- }
146
-
147
- struct Foo <T > where T : ? Sized {
148
- f : T ,
149
- }
150
- ```
151
-
152
- This second form is now accepted, and is equivalent to the first.
153
-
154
139
The build system for Rust [ has been re-written in Rust, using
155
140
Cargo] [ rustbuild ] . It is now the default. This process has been long, but has
156
141
finally borne fruit. Given that all Rust development happens on the master
@@ -171,11 +156,27 @@ and [`ARMv5TE`].
171
156
[ `MSP430` ] : https://github.com/rust-lang/rust/pull/37627
172
157
[ `ARMv5TE` ] : https://github.com/rust-lang/rust/pull/37615
173
158
174
- Finally, [ a number of compiler performance improvements have
159
+ [ A number of compiler performance improvements have
175
160
landed] ( https://github.com/rust-lang/rust/blob/master/RELEASES.md#compiler-performance ) .
176
161
We continue to work on making the compiler faster. Expect to see more in the
177
162
future!
178
163
164
+ As a smaller improvement, [ ` ?Sized ` can now be used in ` where `
165
+ clauses] ( https://github.com/rust-lang/rust/pull/37791 ) . In other words:
166
+
167
+ ``` rust
168
+ struct Foo <T : ? Sized > {
169
+ f : T ,
170
+ }
171
+
172
+ struct Foo <T > where T : ? Sized {
173
+ f : T ,
174
+ }
175
+ ```
176
+
177
+ This second form is now accepted, and is equivalent to the first.
178
+
179
+
179
180
See the [ detailed release notes] [ notes ] for more.
180
181
181
182
#### Library stabilizations
0 commit comments