Skip to content

Commit 34b7356

Browse files
committed
---
yaml --- r: 92255 b: refs/heads/auto c: 55d2d8e h: refs/heads/master i: 92253: 59e0e26 92251: ed4c606 92247: ce0ec99 92239: 101ce19 92223: 7742911 v: v3
1 parent 071b57c commit 34b7356

File tree

378 files changed

+3515
-5013
lines changed

Some content is hidden

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

378 files changed

+3515
-5013
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: d52e1bffe5e0f8c5183df07583b666457d2059c0
16+
refs/heads/auto: 55d2d8eec9f1e8e06faa082f7e376c68bc56d847
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/doc/rust.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,9 +1239,9 @@ static BIT2: uint = 1 << 1;
12391239
static BITS: [uint, ..2] = [BIT1, BIT2];
12401240
static STRING: &'static str = "bitstring";
12411241
1242-
struct BitsNStrings<'a> {
1242+
struct BitsNStrings<'self> {
12431243
mybits: [uint, ..2],
1244-
mystring: &'a str
1244+
mystring: &'self str
12451245
}
12461246
12471247
static bits_n_strings: BitsNStrings<'static> = BitsNStrings {
@@ -2281,7 +2281,7 @@ The following are examples of structure expressions:
22812281
~~~~
22822282
# struct Point { x: f64, y: f64 }
22832283
# struct TuplePoint(f64, f64);
2284-
# mod game { pub struct User<'a> { name: &'a str, age: uint, score: uint } }
2284+
# mod game { pub struct User<'self> { name: &'self str, age: uint, score: uint } }
22852285
# struct Cookie; fn some_fn<T>(t: T) {}
22862286
Point {x: 10.0, y: 20.0};
22872287
TuplePoint(10.0, 20.0);
@@ -3055,7 +3055,7 @@ order specified by the tuple type.
30553055
An example of a tuple type and its use:
30563056

30573057
~~~~
3058-
type Pair<'a> = (int,&'a str);
3058+
type Pair<'self> = (int,&'self str);
30593059
let p: Pair<'static> = (10,"hello");
30603060
let (a, b) = p;
30613061
assert!(b != "world");
@@ -3220,7 +3220,7 @@ fn add(x: int, y: int) -> int {
32203220
32213221
let mut x = add(5,7);
32223222
3223-
type Binop<'a> = 'a |int,int| -> int;
3223+
type Binop<'self> = 'self |int,int| -> int;
32243224
let bo: Binop = add;
32253225
x = bo(5,7);
32263226
~~~~

branches/auto/doc/rustdoc.md

Lines changed: 0 additions & 72 deletions
This file was deleted.

branches/auto/doc/tutorial-rustpkg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Now you can install and use it! Go anywhere else in your filesystem:
198198

199199
~~~ {.notrust}
200200
$ cd ~/src/foo
201-
$ rustpkg install github.com/YOUR_USERNAME/hello
201+
$ rustpkg install github/YOUR_USERNAME/hello
202202
WARNING: The Rust package manager is experimental and may be unstable
203203
note: Installed package github.com/YOUR_USERNAME/hello-0.1 to /home/yourusername/src/hello/.rust
204204
~~~

0 commit comments

Comments
 (0)