Skip to content

Commit 00166b0

Browse files
committed
---
yaml --- r: 28565 b: refs/heads/try c: 150acd2 h: refs/heads/master i: 28563: 11c9374 v: v3
1 parent d566625 commit 00166b0

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
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: d0d8b7fe6491d539254d281f39a6c0aa0261e42d
5+
refs/heads/try: 150acd26b251088bd2e830e6c9f171f7d1614c60
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/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)