Skip to content

Commit d30f428

Browse files
committed
---
yaml --- r: 77022 b: refs/heads/snap-stage3 c: e664781 h: refs/heads/master v: v3
1 parent 9dca534 commit d30f428

File tree

122 files changed

+4127
-2048
lines changed

Some content is hidden

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

122 files changed

+4127
-2048
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: f1132496dddbdd88f321a7919eec3d65136b3f75
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6b23d20452ef7c2d2eb79baf074bcda04fad9a66
4+
refs/heads/snap-stage3: e66478193b1ad0582cdabb5ca769a85b26ea000c
55
refs/heads/try: ebfe63cd1c0b5d23f7ea60c69b4fde2e30cfd42a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,9 @@ 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
742743
make_dir $h/test/doc-tutorial-tasks
744+
make_dir $h/test/doc-tutorial-conditions
743745
make_dir $h/test/doc-rust
744746
done
745747

branches/snap-stage3/doc/rust.md

Lines changed: 5 additions & 6 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,17 +2864,16 @@ 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;
28682867
trait Printable {
2869-
fn to_str(&self) -> ~str;
2868+
fn to_string(&self) -> ~str;
28702869
}
28712870
28722871
impl Printable for int {
2873-
fn to_str(&self) -> ~str { int::to_str(*self) }
2872+
fn to_string(&self) -> ~str { self.to_str() }
28742873
}
28752874
28762875
fn print(a: @Printable) {
2877-
println(a.to_str());
2876+
println(a.to_string());
28782877
}
28792878
28802879
fn main() {

0 commit comments

Comments
 (0)