Skip to content

Commit 19ba4b1

Browse files
committed
---
yaml --- r: 39669 b: refs/heads/incoming c: 1f1e7e9 h: refs/heads/master i: 39667: b81980f v: v3
1 parent 55a7904 commit 19ba4b1

File tree

333 files changed

+3797
-1451
lines changed

Some content is hidden

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

333 files changed

+3797
-1451
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: d94e9c0b0483f8d8eaf5b0c7785368808fd5da1e
9+
refs/heads/incoming: 1f1e7e9616ba916cbcf94f46f19e83ba3b26c82d
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/AUTHORS.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Arkaitz Jimenez <[email protected]>
1616
Armin Ronacher <[email protected]>
1717
Austin Seipp <[email protected]>
1818
19+
Ben Alpert <[email protected]>
1920
2021
Ben Striegel <[email protected]>
2122
Benjamin Herr <[email protected]>
@@ -49,6 +50,7 @@ Erick Tryzelaar <[email protected]>
4950
Erik Rose <[email protected]>
5051
Evan McClanahan <[email protected]>
5152
Francisco Souza <[email protected]>
53+
Franklin Chen <[email protected]>
5254
5355
Gareth Daniel Smith <[email protected]>
5456
Glenn Willen <[email protected]>
@@ -106,6 +108,7 @@ Patrik Kårlin <[email protected]>
106108
Paul Stansifer <[email protected]>
107109
Paul Woolcock <[email protected]>
108110
Peter Hull <[email protected]>
111+
Peter Williams <[email protected]>
109112
Philipp Brüschweiler <[email protected]>
110113
Rafael Ávila de Espíndola <[email protected]>
111114
Ralph Giles <[email protected]>
@@ -119,6 +122,7 @@ Sean Stangl <[email protected]>
119122
Simon Barber-Dueck <[email protected]>
120123
startling <[email protected]>
121124
Stefan Plantikow <[email protected]>
125+
Steve Klabnik <[email protected]>
122126
Taras Shpot <[email protected]>
123127
Ted Horst <[email protected]>
124128
Tim Chevalier <[email protected]>

branches/incoming/CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Pull request procedure
2+
3+
Pull requests should be targeted at Rust's `incoming` branch (note that by default Github will aim them at the `master` branch) -- see "Changing The Commit Range and Destination Repository" in Github's documentation on [pull requests](https://help.github.com/articles/using-pull-requests). Before pushing to your Github repo and issuing the pull request, please do two things:
4+
5+
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `incoming` branch. Resolve any conflicts that arise.
6+
2. Run the full Rust test suite with the `make check` command. You're not off the hook even if you just stick to documentation; code examples in the docs are tested as well!
7+
8+
Pull requests will be treated as "review requests", and we will give feedback we expect to see corrected on [style](https://github.com/mozilla/rust/wiki/Note-style-guide) and substance before pulling. Changes contributed via pull request should focus on a single issue at a time, like any other. We will not look kindly on pull-requests that try to "sneak" unrelated changes in.
9+
10+
Normally, all pull requests must include regression tests (see [[Note-testsuite]]) that test your change. Occasionally, a change will be very difficult to test for. In those cases, please include a note in your commit message explaining why.
11+
12+
For more details, please refer to [[Note-development-policy]].

branches/incoming/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ API-documentation tool, and `cargo`, the Rust package manager.
6565

6666
## License
6767

68-
Rust is primarily distributed under the terms of the MIT license, with
69-
portions covered by various BSD-like licenses.
68+
Rust is primarily distributed under the terms of both the MIT license
69+
and the Apache License (Version 2.0), with portions covered by various
70+
BSD-like licenses.
7071

71-
See LICENSE.txt for details.
72+
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
7273

7374
## More help
7475

branches/incoming/doc/rust.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,19 @@ let mut a: Animal = Dog;
11071107
a = Cat;
11081108
~~~~
11091109

1110+
Enumeration constructors can have either named or unnamed fields:
1111+
~~~~
1112+
enum Animal {
1113+
Dog (~str, float),
1114+
Cat { name: ~str, weight: float }
1115+
}
1116+
1117+
let mut a: Animal = Dog(~"Cocoa", 37.2);
1118+
a = Cat{ name: ~"Spotty", weight: 2.7 };
1119+
~~~~
1120+
1121+
In this example, `Cat` is a _struct-like enum variant_,
1122+
whereas `Dog` is simply called an enum variant.
11101123
### Constants
11111124

11121125
~~~~~~~~ {.ebnf .gram}
@@ -3245,12 +3258,12 @@ crate name the crate is given a default name that matches the source file,
32453258
with the extension removed. In that case, to turn on logging for a program
32463259
compiled from, e.g. `helloworld.rs`, `RUST_LOG` should be set to `helloworld`.
32473260

3248-
As a convenience, the logging spec can also be set to a special psuedo-crate,
3261+
As a convenience, the logging spec can also be set to a special pseudo-crate,
32493262
`::help`. In this case, when the application starts, the runtime will
32503263
simply output a list of loaded modules containing log expressions, then exit.
32513264

32523265
The Rust runtime itself generates logging information. The runtime's logs are
3253-
generated for a number of artificial modules in the `::rt` psuedo-crate,
3266+
generated for a number of artificial modules in the `::rt` pseudo-crate,
32543267
and can be enabled just like the logs for any standard module. The full list
32553268
of runtime logging modules follows.
32563269

@@ -3328,7 +3341,7 @@ have come and gone during the course of Rust's development:
33283341

33293342
* The Newsqueak (1988), Alef (1995), and Limbo (1996) family. These
33303343
languages were developed by Rob Pike, Phil Winterbottom, Sean Dorward and
3331-
others in their group at Bell labs Computing Sciences Research Center
3344+
others in their group at Bell Labs Computing Sciences Research Center
33323345
(Murray Hill, NJ, USA).
33333346

33343347
* The Napier (1985) and Napier88 (1988) family. These languages were

branches/incoming/doc/tutorial-macros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ macro_rules! early_return(
4343
_ => {}
4444
}
4545
);
46-
);
46+
)
4747
// ...
4848
early_return!(input_1 special_a);
4949
// ...
@@ -160,7 +160,7 @@ macro_rules! early_return(
160160
_ => {}
161161
}
162162
);
163-
);
163+
)
164164
// ...
165165
early_return!(input_1, [special_a|special_c|special_d]);
166166
// ...

0 commit comments

Comments
 (0)