Skip to content

Commit b9532f3

Browse files
committed
---
yaml --- r: 207294 b: refs/heads/master c: 6f69cd6 h: refs/heads/master v: v3
1 parent 66d2300 commit b9532f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+252
-354
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: cc50fd6f31f2037acf41d66005fbd820a6eee297
2+
refs/heads/master: 6f69cd6387bf1975dfc760b939d607c49ff126cb
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 857ef6e272e5634cb9f3e6ee50eb6bc2a2e71651
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f

trunk/RELEASES.md

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Language
2323
* Digits of binary and octal literals are [lexed more eagerly][lex] to
2424
improve error messages and macro behavior. For example, `0b1234` is
2525
now lexed as `0b1234` instead of two tokens, `0b1` and `234`.
26-
* Trait bounds [are always invariant][inv], eliminating the need for
26+
* Trait bounds [are always invariant][inv], eleminating the need for
2727
the `PhantomFn` and `MarkerTrait` lang items, which have been
2828
removed.
2929
* ["-" is no longer a valid character in crate names][cr], the `extern crate
@@ -162,7 +162,7 @@ Misc
162162

163163

164164
Version 1.0.0-alpha.2 (February 2015)
165-
=====================================
165+
-------------------------------------
166166

167167
* ~1300 changes, numerous bugfixes
168168

@@ -260,9 +260,8 @@ Version 1.0.0-alpha.2 (February 2015)
260260
[ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
261261
[un]: https://github.com/rust-lang/rust/pull/22256
262262

263-
264263
Version 1.0.0-alpha (January 2015)
265-
==================================
264+
----------------------------------
266265

267266
* ~2400 changes, numerous bugfixes
268267

@@ -447,9 +446,8 @@ Version 1.0.0-alpha (January 2015)
447446
[trpl]: http://doc.rust-lang.org/book/index.html
448447
[rbe]: http://rustbyexample.com/
449448

450-
451449
Version 0.12.0 (October 2014)
452-
=============================
450+
-----------------------------
453451

454452
* ~1900 changes, numerous bugfixes
455453

@@ -570,9 +568,8 @@ Version 0.12.0 (October 2014)
570568
* Official Rust binaries on Linux are more compatible with older
571569
kernels and distributions, built on CentOS 5.10.
572570

573-
574571
Version 0.11.0 (July 2014)
575-
==========================
572+
-------------------------
576573

577574
* ~1700 changes, numerous bugfixes
578575

@@ -703,9 +700,8 @@ Version 0.11.0 (July 2014)
703700
* Error message related to non-exhaustive match expressions have been
704701
greatly improved.
705702

706-
707703
Version 0.10 (April 2014)
708-
=========================
704+
-------------------------
709705

710706
* ~1500 changes, numerous bugfixes
711707

@@ -870,9 +866,8 @@ Version 0.10 (April 2014)
870866
* search works across crates that have been rendered to the same output
871867
directory.
872868

873-
874869
Version 0.9 (January 2014)
875-
==========================
870+
--------------------------
876871

877872
* ~1800 changes, numerous bugfixes
878873

@@ -1036,9 +1031,8 @@ Version 0.9 (January 2014)
10361031
* `rustc` adds a `--dep-info` flag for communicating dependencies to
10371032
build tools.
10381033

1039-
10401034
Version 0.8 (September 2013)
1041-
============================
1035+
--------------------------
10421036

10431037
* ~2200 changes, numerous bugfixes
10441038

@@ -1192,9 +1186,8 @@ Version 0.8 (September 2013)
11921186
* A new documentation backend, rustdoc_ng, is available for use. It is
11931187
still invoked through the normal `rustdoc` command.
11941188

1195-
11961189
Version 0.7 (July 2013)
1197-
=======================
1190+
-----------------------
11981191

11991192
* ~2000 changes, numerous bugfixes
12001193

@@ -1309,9 +1302,8 @@ Version 0.7 (July 2013)
13091302
* Various improvements to rustdoc.
13101303
* Improvements to rustpkg (see the detailed release notes).
13111304

1312-
13131305
Version 0.6 (April 2013)
1314-
========================
1306+
------------------------
13151307

13161308
* ~2100 changes, numerous bugfixes
13171309

@@ -1412,9 +1404,8 @@ Version 0.6 (April 2013)
14121404
* Rust code may be embedded in foreign code under limited circumstances
14131405
* Inline assembler supported by new asm!() syntax extension.
14141406

1415-
14161407
Version 0.5 (December 2012)
1417-
===========================
1408+
---------------------------
14181409

14191410
* ~900 changes, numerous bugfixes
14201411

@@ -1469,9 +1460,8 @@ Version 0.5 (December 2012)
14691460
* Added a preliminary REPL, `rusti`
14701461
* License changed from MIT to dual MIT/APL2
14711462

1472-
14731463
Version 0.4 (October 2012)
1474-
==========================
1464+
--------------------------
14751465

14761466
* ~2000 changes, numerous bugfixes
14771467

@@ -1525,9 +1515,8 @@ Version 0.4 (October 2012)
15251515
Rust-based (visitor) code
15261516
* All hash functions and tables converted to secure, randomized SipHash
15271517

1528-
15291518
Version 0.3 (July 2012)
1530-
========================
1519+
------------------------
15311520

15321521
* ~1900 changes, numerous bugfixes
15331522

@@ -1584,9 +1573,8 @@ Version 0.3 (July 2012)
15841573
* Tool improvements
15851574
* Cargo automatically resolves dependencies
15861575

1587-
15881576
Version 0.2 (March 2012)
1589-
=========================
1577+
-------------------------
15901578

15911579
* >1500 changes, numerous bugfixes
15921580
@@ -1625,9 +1613,8 @@ Version 0.2 (March 2012)
16251613
* Merged per-platform std::{os*, fs*} to core::{libc, os}
16261614
* Extensive cleanup, regularization in libstd, libcore
16271615

1628-
16291616
Version 0.1 (January 20, 2012)
1630-
===============================
1617+
-------------------------------
16311618

16321619
* Most language features work, including:
16331620
* Unique pointers, unique closures, move semantics

trunk/src/doc/trpl/borrow-and-asref.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ This is because the standard library has `impl Borrow<str> for String`.
4747

4848
For most types, when you want to take an owned or borrowed type, a `&T` is
4949
enough. But one area where `Borrow` is effective is when there’s more than one
50-
kind of borrowed value. This is especially true of references and slices: you
51-
can have both an `&T` or a `&mut T`. If we wanted to accept both of these types,
52-
`Borrow` is up for it:
50+
kind of borrowed value. Slices are an area where this is especially true: you
51+
can have both an `&[T]` or a `&mut [T]`. If we wanted to accept both of these
52+
types, `Borrow` is up for it:
5353

54-
```
54+
```rust
5555
use std::borrow::Borrow;
5656
use std::fmt::Display;
5757

trunk/src/doc/trpl/box-syntax-and-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Also it is not possible in stable Rust to destructure a `Box` in a match
55
pattern. The unstable `box` keyword can be used to both create and destructure
66
a `Box`. An example usage would be:
77

8-
```
8+
```rust
99
#![feature(box_syntax, box_patterns)]
1010

1111
fn main() {

trunk/src/doc/trpl/concurrency.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ place!
5959
Rust's standard library provides a library for threads, which allow you to
6060
run Rust code in parallel. Here's a basic example of using `std::thread`:
6161

62-
```
62+
```rust
6363
use std::thread;
6464

6565
fn main() {
@@ -73,7 +73,7 @@ The `thread::spawn()` method accepts a closure, which is executed in a
7373
new thread. It returns a handle to the thread, that can be used to
7474
wait for the child thread to finish and extract its result:
7575

76-
```
76+
```rust
7777
use std::thread;
7878

7979
fn main() {
@@ -189,7 +189,7 @@ guard across thread boundaries, which gives us our error.
189189

190190
We can use `Arc<T>` to fix this. Here's the working version:
191191

192-
```
192+
```rust
193193
use std::sync::{Arc, Mutex};
194194
use std::thread;
195195

@@ -248,7 +248,7 @@ threads with each other. Let's talk about one of them: channels.
248248
Here's a version of our code that uses channels for synchronization, rather
249249
than waiting for a specific time:
250250

251-
```
251+
```rust
252252
use std::sync::{Arc, Mutex};
253253
use std::thread;
254254
use std::sync::mpsc;
@@ -281,7 +281,7 @@ a simple `()` down the channel, and then wait for ten of them to come back.
281281
While this channel is just sending a generic signal, we can send any data that
282282
is `Send` over the channel!
283283

284-
```
284+
```rust
285285
use std::thread;
286286
use std::sync::mpsc;
287287

@@ -311,7 +311,7 @@ the answer, and then it `send()`s us the answer over the channel.
311311
A `panic!` will crash the currently executing thread. You can use Rust's
312312
threads as a simple isolation mechanism:
313313

314-
```
314+
```rust
315315
use std::thread;
316316

317317
let result = thread::spawn(move || {

trunk/src/doc/trpl/crates-and-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ above.
7575
To define each of our modules, we use the `mod` keyword. Let’s make our
7676
`src/lib.rs` look like this:
7777

78-
```
78+
```rust
7979
mod english {
8080
mod greetings {
8181
}

trunk/src/doc/trpl/dining-philosophers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ called ‘the dining philosophers’. It was originally conceived by Dijkstra in
1818
> in his own chair, picked up his own fork on his left, and plunged it into the
1919
> spaghetti. But such is the tangled nature of spaghetti that a second fork is
2020
> required to carry it to the mouth. The philosopher therefore had also to pick
21-
> up the fork on his right. When he was finished he would put down both his
21+
> up the fork on his right. When we was finished he would put down both his
2222
> forks, get up from his chair, and continue thinking. Of course, a fork can be
2323
> used by only one philosopher at a time. If the other philosopher wants it, he
2424
> just has to wait until the fork is available again.

0 commit comments

Comments
 (0)