Skip to content

Commit 0e90ced

Browse files
committed
address @aturon feedback
1 parent e1f1f64 commit 0e90ced

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

_posts/2017-02-02-Rust-1.15.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ appropriate page on our website, and check out the [detailed release notes for
2222

2323
### What's in 1.15.0 stable
2424

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
2626
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:
2828

2929
```rust
3030
#[derive(Debug)]
@@ -136,21 +136,6 @@ infrastructure for supporting even more compile-time powers of Rust, nicknamed
136136

137137
#### Other improvements
138138

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-
154139
The build system for Rust [has been re-written in Rust, using
155140
Cargo][rustbuild]. It is now the default. This process has been long, but has
156141
finally borne fruit. Given that all Rust development happens on the master
@@ -171,11 +156,27 @@ and [`ARMv5TE`].
171156
[`MSP430`]: https://github.com/rust-lang/rust/pull/37627
172157
[`ARMv5TE`]: https://github.com/rust-lang/rust/pull/37615
173158

174-
Finally, [a number of compiler performance improvements have
159+
[A number of compiler performance improvements have
175160
landed](https://github.com/rust-lang/rust/blob/master/RELEASES.md#compiler-performance).
176161
We continue to work on making the compiler faster. Expect to see more in the
177162
future!
178163

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+
179180
See the [detailed release notes][notes] for more.
180181

181182
#### Library stabilizations

0 commit comments

Comments
 (0)