Skip to content

Commit cf333d9

Browse files
committed
---
yaml --- r: 144247 b: refs/heads/try2 c: aeb06f2 h: refs/heads/master i: 144245: 2c49c9e 144243: b068e99 144239: 9284135 v: v3
1 parent 6581d8a commit cf333d9

File tree

173 files changed

+2491
-7972
lines changed

Some content is hidden

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

173 files changed

+2491
-7972
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 7e50260f13643e30acc01da374ca998022505e92
8+
refs/heads/try2: aeb06f2fb1d2d5cc59349ee82eebfe7191762981
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,7 @@ do
739739
make_dir $h/test/doc-tutorial-ffi
740740
make_dir $h/test/doc-tutorial-macros
741741
make_dir $h/test/doc-tutorial-borrowed-ptr
742-
make_dir $h/test/doc-tutorial-container
743742
make_dir $h/test/doc-tutorial-tasks
744-
make_dir $h/test/doc-tutorial-conditions
745743
make_dir $h/test/doc-rust
746744
done
747745

branches/try2/doc/rust.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ extern mod complicated_mod = "some-file/in/the-rust/path";
788788
##### Use declarations
789789

790790
~~~~~~~~ {.ebnf .gram}
791-
use_decl : "pub" ? "use" ident [ '=' path
791+
use_decl : "pub"? "use" ident [ '=' path
792792
| "::" path_glob ] ;
793793
794794
path_glob : ident [ "::" path_glob ] ?
@@ -1920,7 +1920,7 @@ it is automatically dereferenced to make the field access possible.
19201920
### Vector expressions
19211921

19221922
~~~~~~~~{.ebnf .gram}
1923-
vec_expr : '[' "mut" ? vec_elems? ']'
1923+
vec_expr : '[' "mut"? vec_elems? ']'
19241924
19251925
vec_elems : [expr [',' expr]*] | [expr ',' ".." expr]
19261926
~~~~~~~~
@@ -2864,16 +2864,17 @@ the vtable pointer for the `T` implementation of `R`, and the pointer value of `
28642864
An example of an object type:
28652865

28662866
~~~~~~~~
2867+
# use std::int;
28672868
trait Printable {
2868-
fn to_string(&self) -> ~str;
2869+
fn to_str(&self) -> ~str;
28692870
}
28702871
28712872
impl Printable for int {
2872-
fn to_string(&self) -> ~str { self.to_str() }
2873+
fn to_str(&self) -> ~str { int::to_str(*self) }
28732874
}
28742875
28752876
fn print(a: @Printable) {
2876-
println(a.to_string());
2877+
println(a.to_str());
28772878
}
28782879
28792880
fn main() {

0 commit comments

Comments
 (0)