Skip to content

Commit feee833

Browse files
committed
---
yaml --- r: 30587 b: refs/heads/incoming c: 150acd2 h: refs/heads/master i: 30585: 8631269 30583: 1f56ef8 v: v3
1 parent 54867d4 commit feee833

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: d0d8b7fe6491d539254d281f39a6c0aa0261e42d
9+
refs/heads/incoming: 150acd26b251088bd2e830e6c9f171f7d1614c60
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/doc/rust.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -749,15 +749,15 @@ An example of a module:
749749
mod math {
750750
type complex = (f64, f64);
751751
fn sin(f: f64) -> f64 {
752-
// ...
752+
...
753753
# fail;
754754
}
755755
fn cos(f: f64) -> f64 {
756-
// ...
756+
...
757757
# fail;
758758
}
759759
fn tan(f: f64) -> f64 {
760-
// ...
760+
...
761761
# fail;
762762
}
763763
}
@@ -884,7 +884,7 @@ mod foo {
884884
}
885885
886886
fn helper(x: int, y: int) {
887-
// ...
887+
...
888888
}
889889
}
890890
@@ -912,11 +912,11 @@ mod foo {
912912
}
913913
914914
fn secondary() {
915-
// ...
915+
...
916916
}
917917
918918
fn helper(x: int, y: int) {
919-
// ...
919+
...
920920
}
921921
}
922922
~~~~~~~~
@@ -1028,7 +1028,7 @@ pure fn lt_42(x: int) -> bool {
10281028
Pure functions may call other pure functions:
10291029

10301030
~~~~{.xfail-test}
1031-
pure fn pure_length<T>(ls: List<T>) -> uint { /* ... */ }
1031+
pure fn pure_length<T>(ls: List<T>) -> uint { ... }
10321032
10331033
pure fn nonempty_list<T>(ls: List<T>) -> bool { pure_length(ls) > 0u }
10341034
~~~~
@@ -1327,7 +1327,7 @@ specified, after the `impl` keyword.
13271327
# trait seq<T> { }
13281328
13291329
impl<T> ~[T]: seq<T> {
1330-
// ...
1330+
...
13311331
}
13321332
impl u32: seq<bool> {
13331333
/* Treat the integer as a sequence of bits */
@@ -1426,13 +1426,13 @@ An example of attributes:
14261426
// A function marked as a unit test
14271427
#[test]
14281428
fn test_foo() {
1429-
// ...
1429+
...
14301430
}
14311431
14321432
// A conditionally-compiled module
14331433
#[cfg(target_os="linux")]
14341434
mod bar {
1435-
// ...
1435+
...
14361436
}
14371437
14381438
// A documentation attribute
@@ -3036,7 +3036,7 @@ let ch = comm::Chan(po);
30363036
30373037
do task::spawn {
30383038
// let task run, do other things
3039-
// ...
3039+
...
30403040
comm::send(ch, true);
30413041
};
30423042

0 commit comments

Comments
 (0)