Skip to content

Commit c20d946

Browse files
huonwthestinger
authored andcommitted
---
yaml --- r: 63527 b: refs/heads/snap-stage3 c: 769c2e5 h: refs/heads/master i: 63525: 6c76d83 63523: 8d560da 63519: e5a1bf6 v: v3
1 parent 7eaa485 commit c20d946

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
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: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9e95bc4b196810f07b942927f85da4686929787f
4+
refs/heads/snap-stage3: 769c2e5f99c6f8d1dd5a20ecd176c4857f6f0ce4
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/RELEASES.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Version 0.7 (July 2013)
77
* `use mod` is no longer valid.
88
* `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
99
argument list.
10-
* `Encodable`, `Decodable`, `TotalOrd`, `TotalEq`, `DeepClone` can all
11-
be automatically derived with `#[deriving(...)]`.
10+
* `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,
11+
`Rand`, `Zero` and `ToStr` can all be automatically derived with
12+
`#[deriving(...)]`.
1213
* The `Durable` trait is replaced with the `'static` bounds.
1314
* At long last, 'argument modes' no longer exist.
1415
* The `bytes!` macro returns a vector of bytes for string, u8, char,
@@ -55,8 +56,8 @@ Version 0.7 (July 2013)
5556
`(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
5657
* std: many types implement `Clone`.
5758
* std: `path` type renamed to `Path`.
58-
* std: Many standalone functions removed in favor of methods in
59-
`vec`, `str`. In the future methods will also work as functions.
59+
* std: Many standalone functions removed in favor of methods and iterators
60+
in `vec`, `str`. In the future methods will also work as functions.
6061
* std: `reinterpret_cast` removed. Used `transmute`.
6162
* std: ascii string handling in `std::ascii`.
6263
* std: `Rand` is implemented for ~/@.
@@ -71,7 +72,7 @@ Version 0.7 (July 2013)
7172
* std: `Cell` constructors converted to static methods.
7273
* extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
7374
* extra: `flate` module moved from `std` to `extra`.
74-
* extra: `FileInput` implements `std::io::Reader`.
75+
* extra: `fileinput` module for iterating over a series of files.
7576
* extra: `Complex` number type and `complex` module.
7677
* extra: `Rational` number type and `rational` module.
7778
* extra: `BigInt`, `BigUint` implement numeric and comparison traits.

branches/snap-stage3/doc/rust.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,7 @@ Supported traits for `deriving` are:
15611561
* `Clone` and `DeepClone`, to perform (deep) copies.
15621562
* `IterBytes`, to iterate over the bytes in a data type.
15631563
* `Rand`, to create a random instance of a data type.
1564+
* `Zero`, to create an zero (or empty) instance of a data type.
15641565
* `ToStr`, to convert to a string. For a type with this instance,
15651566
`obj.to_str()` has the same output as `fmt!("%?", obj)`.
15661567

branches/snap-stage3/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ enum ABC { A, B, C }
23192319

23202320
The full list of derivable traits is `Eq`, `TotalEq`, `Ord`,
23212321
`TotalOrd`, `Encodable` `Decodable`, `Clone`, `DeepClone`,
2322-
`IterBytes`, `Rand` and `ToStr`.
2322+
`IterBytes`, `Rand`, `Zero`, and `ToStr`.
23232323

23242324
# Modules and crates
23252325

0 commit comments

Comments
 (0)