Skip to content

Commit 59e0e26

Browse files
committed
---
yaml --- r: 92253 b: refs/heads/auto c: ee618e1 h: refs/heads/master i: 92251: ed4c606 v: v3
1 parent 0dad1e5 commit 59e0e26

File tree

377 files changed

+3503
-4974
lines changed

Some content is hidden

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

377 files changed

+3503
-4974
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: 2ec471228958590f2ccf2c268f42daa53fc979d4
16+
refs/heads/auto: ee618e1e7590bf2cfd6431dafa0b6a9565bc91d3
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.

0 commit comments

Comments
 (0)