Skip to content

Commit faa8ea8

Browse files
committed
remove feature thanks to @petrochenkov
1 parent 7d42051 commit faa8ea8

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

_posts/2017-03-16-Rust-1.16.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,25 @@ time: 0.049; rss: 34MB expansion
4141
<snip>
4242
```
4343

44-
There's a lot of them. However, you can think of this process in two big steps: first, `rustc` does
45-
all of its safety checks, makes sure your syntax is correct, all that stuff. Second, once it's satisfied
46-
that everything is in order, it produces the actual binary code that you end up executing.
44+
There's a lot of them. However, you can think of this process in two big steps: first, `rustc` does
45+
all of its safety checks, makes sure your syntax is correct, all that stuff. Second, once it's satisfied
46+
that everything is in order, it produces the actual binary code that you end up executing.
4747

48-
It turns out that that second step takes a lot of time. And most of the time, it's not neccesary. That is,
49-
when you're working on some Rust code, many developers will get into a workflow like this:
48+
It turns out that that second step takes a lot of time. And most of the time, it's not neccesary. That is,
49+
when you're working on some Rust code, many developers will get into a workflow like this:
5050

5151
1. Write some code.
5252
2. Run `cargo build` to make sure it compiles.
5353
3. Repeat 1-2 as needed.
5454
4. Run `cargo test` to make sure your tests pass.
5555
5. GOTO 1.
5656

57-
In step two, you never actually run your code. You're looking for feedback from the compiler, not to
58-
actually run the binary. `cargo check` supports exactly this use-case: it runs all of the compiler's
59-
checks, but doesn't produce the final binary.
57+
In step two, you never actually run your code. You're looking for feedback from the compiler, not to
58+
actually run the binary. `cargo check` supports exactly this use-case: it runs all of the compiler's
59+
checks, but doesn't produce the final binary.
6060

61-
So how much speedup do you actually get? Like most performance related questions, the answer is "it
62-
depends." Here are some very un-scientific benchmarks:
61+
So how much speedup do you actually get? Like most performance related questions, the answer is "it
62+
depends." Here are some very un-scientific benchmarks:
6363

6464
| | initial build | initial check | speedup | secondary build | secondary check | speedup |
6565
|--------|---------------|---------------|---------|-----------------|-----------------|---------|
@@ -201,11 +201,6 @@ results in a significant improvement in these sorts of diagnostics.
201201
[This now happens nearly everywhere]: https://github.com/rust-lang/rust/pull/38927
202202
[some other related improvements]: https://github.com/rust-lang/rust/pull/38154
203203
204-
Finally, `Self` can now appear [in impl headers] and [in struct expressions].
205-
206-
[in impl headers]: https://github.com/rust-lang/rust/pull/38920
207-
[in struct expressions]: https://github.com/rust-lang/rust/pull/39282
208-
209204
See the [detailed release notes][notes] for more.
210205
211206
#### Library stabilizations

0 commit comments

Comments
 (0)