Skip to content

Commit 3ffbdab

Browse files
committed
---
yaml --- r: 69247 b: refs/heads/auto c: 6dfb0e5 h: refs/heads/master i: 69245: 77444fb 69243: 40a16e7 69239: aebe8e7 69231: 9fd3fe8 69215: c77a91d 69183: d07b1b8 69119: 51f94d8 v: v3
1 parent 2703b16 commit 3ffbdab

File tree

129 files changed

+2244
-7309
lines changed

Some content is hidden

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

129 files changed

+2244
-7309
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 9aab7e59d752a2ac14e62e309d58f5eb9a60266d
17+
refs/heads/auto: 6dfb0e5ad3c3d57df1dc9fcc124172c748de955b
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/doc/tutorial.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ was taken.
309309

310310
In short, everything that's not a declaration (declarations are `let` for
311311
variables; `fn` for functions; and any top-level named items such as
312-
[traits](#traits), [enum types](#enums), and static items) is an
312+
[traits](#traits), [enum types](#enums), and [constants](#constants)) is an
313313
expression, including function bodies.
314314

315315
~~~~
@@ -992,7 +992,7 @@ task-local garbage collector. It will be destroyed at some point after there
992992
are no references left to the box, no later than the end of the task. Managed
993993
boxes lack an owner, so they start a new ownership tree and don't inherit
994994
mutability. They do own the contained object, and mutability is defined by the
995-
type of the managed box (`@` or `@mut`). An object containing a managed box is
995+
type of the shared box (`@` or `@mut`). An object containing a managed box is
996996
not `Owned`, and can't be sent between tasks.
997997

998998
~~~~
@@ -1089,8 +1089,8 @@ we might like to compute the distance between `on_the_stack` and
10891089
to define a function that takes two arguments of type point—that is,
10901090
it takes the points by value. But this will cause the points to be
10911091
copied when we call the function. For points, this is probably not so
1092-
bad, but often copies are expensive or, worse, if copied data are in mutable
1093-
slots, they can change the semantics of your program. So we’d like to
1092+
bad, but often copies are expensive or, worse, if there are mutable
1093+
fields, they can change the semantics of your program. So we’d like to
10941094
define a function that takes the points by pointer. We can use
10951095
borrowed pointers to do this:
10961096
@@ -1374,7 +1374,7 @@ let exchange_crayons: ~str = ~"Black, BlizzardBlue, Blue";
13741374
~~~
13751375

13761376
Both vectors and strings support a number of useful
1377-
[methods](#methods), defined in [`std::vec`]
1377+
[methods](#functions-and-methods), defined in [`std::vec`]
13781378
and [`std::str`]. Here are some examples.
13791379

13801380
[`std::vec`]: std/vec.html
@@ -1928,7 +1928,7 @@ that implements a trait includes the name of the trait at the start of
19281928
the definition, as in the following impls of `Printable` for `int`
19291929
and `~str`.
19301930

1931-
[impls]: #methods
1931+
[impls]: #functions-and-methods
19321932

19331933
~~~~
19341934
# trait Printable { fn print(&self); }

branches/auto/src/compiletest/compiletest.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ pub fn make_tests(config: &config) -> ~[test::TestDescAndFn] {
242242
let mut tests = ~[];
243243
let dirs = os::list_dir_path(&config.src_base);
244244
for dirs.iter().advance |file| {
245-
let file = (*file).clone();
245+
let file = file.clone();
246246
debug!("inspecting file %s", file.to_str());
247-
if is_test(config, file) {
248-
let t = do make_test(config, file) {
247+
if is_test(config, &file) {
248+
let t = do make_test(config, &file) {
249249
match config.mode {
250-
mode_codegen => make_metrics_test_closure(config, file),
251-
_ => make_test_closure(config, file)
250+
mode_codegen => make_metrics_test_closure(config, &file),
251+
_ => make_test_closure(config, &file)
252252
}
253253
};
254254
tests.push(t)

0 commit comments

Comments
 (0)