Skip to content

Commit f83cdf3

Browse files
committed
---
yaml --- r: 144178 b: refs/heads/try2 c: c87d798 h: refs/heads/master v: v3
1 parent 3346d1d commit f83cdf3

File tree

270 files changed

+7992
-4590
lines changed

Some content is hidden

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

270 files changed

+7992
-4590
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: c5c4a63aeb1dd59c6fc944bb9ac51dca550ec772
8+
refs/heads/try2: c87d798fb0266bfbaa1a6bea81ba50353e3302e1
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: 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/try2/doc/rust.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ a referencing source file, or by the name of the crate itself.
582582

583583
Each source file contains a sequence of zero or more `item` definitions,
584584
and may optionally begin with any number of `attributes` that apply to the containing module.
585-
Atributes on the anonymous crate module define important metadata that influences
585+
Attributes on the anonymous crate module define important metadata that influences
586586
the behavior of the compiler.
587587

588588
~~~~~~~~
@@ -1273,7 +1273,7 @@ since the typechecker checks that any type with an implementation of `Circle` al
12731273

12741274
In type-parameterized functions,
12751275
methods of the supertrait may be called on values of subtrait-bound type parameters.
1276-
Refering to the previous example of `trait Circle : Shape`:
1276+
Referring to the previous example of `trait Circle : Shape`:
12771277

12781278
~~~
12791279
# trait Shape { fn area(&self) -> float; }
@@ -1914,7 +1914,7 @@ A field access on a record is an [lvalue](#lvalues-rvalues-and-temporaries) refe
19141914
When the field is mutable, it can be [assigned](#assignment-expressions) to.
19151915

19161916
When the type of the expression to the left of the dot is a pointer to a record or structure,
1917-
it is automatically derferenced to make the field access possible.
1917+
it is automatically dereferenced to make the field access possible.
19181918

19191919

19201920
### Vector expressions
@@ -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)