Skip to content

Commit b778ec9

Browse files
committed
auto merge of #5360 : thestinger/rust/doc, r=graydon
* make the changes regarding move semantics clearer * expand on the container work
2 parents 9416ac5 + 9c32de5 commit b778ec9

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

RELEASES.txt

+11-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Version 0.6 (March 2013)
1010
* Remove `static` keyword
1111
* Static method syntax
1212
* `as Trait`
13-
* `copy` removed?
13+
* `copy` removed, replaced with `Clone`?
14+
* `std::map` removed, replaced with `core::hashmap`
1415

1516
* Syntax changes
1617
* The self type parameter in traits is now spelled `Self`
@@ -38,7 +39,8 @@ Version 0.6 (March 2013)
3839
* Trait implementations no longer support visibility modifiers
3940

4041
* Semantic changes
41-
* Linear types move by default, eliminating the `move` keyword
42+
* Types with owned pointers or custom destructors move by default,
43+
eliminating the `move` keyword
4244
* All foreign functions are considered unsafe
4345
* &mut is now unaliasable
4446
* Writes to borrowed @mut pointers are prevented dynamically
@@ -57,16 +59,19 @@ Version 0.6 (March 2013)
5759
improve inference and eliminate unsoundness
5860

5961
* Libraries
60-
* Lots of effort to organize the container API's around `core::container`
61-
* `core::send_map` renamed to `core::hashmap`
6262
* Added big integers to `std::bigint`
6363
* Removed `core::oldcomm` module
6464
* Added pipe-based `core::comm` module
65-
* Reimplemented `std::treemap`
6665
* Numeric traits have been reorganized under `core::num`
67-
* `core::dvec` removed. Use `@mut ~[T]` or other language types
6866
* `vec::slice` finally returns a slice
6967
* `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
68+
* Containers reorganized around traits in `core::container`
69+
* `core::dvec` removed, `~[T]` is a drop-in replacement
70+
* `core::send_map` renamed to `core::hashmap`
71+
* `std::treemap` reimplemented as an owned balanced tree
72+
* `std::deque` and `std::smallintmap` reimplemented as owned containers
73+
* `core::trie` added as a fast ordered map for integer keys
74+
* Set types added to `core::hashmap`, `core::trie` and `std::treemap`
7075

7176
* Tools
7277
* Replaced the 'cargo' package manager with 'rustpkg'

0 commit comments

Comments
 (0)