1
1
Version 0.9 (January 2014)
2
2
--------------------------
3
3
4
- * ~1800 changes, numerous bugfixes
4
+ * ~1600 changes, numerous bugfixes
5
5
6
6
* Language
7
7
* The `float` type has been removed. Use `f32` or `f64` instead.
@@ -22,9 +22,6 @@ Version 0.9 (January 2014)
22
22
* `@fn`s have been removed.
23
23
* `do` only works with procs in order to make it obvious what the cost
24
24
of `do` is.
25
- * Single-element tuple-like structs can no longer be dereferenced to
26
- obtain the inner value. A more comprehensive solution for overloading
27
- the dereference operator will be provided in the future.
28
25
* The `#[link(...)]` attribute has been replaced with
29
26
`#[crate_id = "name#vers"]`.
30
27
* Empty `impl`s must be terminated with empty braces and may not be
@@ -35,8 +32,6 @@ Version 0.9 (January 2014)
35
32
* `printf!` and `printfln!` (old-style formatting) removed in favor of
36
33
`print!` and `println!`.
37
34
* `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
38
- * The `extern mod foo (name = "bar")` syntax has been removed. Use
39
- `extern mod foo = "bar"` instead.
40
35
* New reserved keywords: `alignof`, `offsetof`, `sizeof`.
41
36
* Macros can have attributes.
42
37
* Macros can expand to items with attributes.
@@ -81,7 +76,6 @@ Version 0.9 (January 2014)
81
76
variables. Currently behind the `thread_local` feature gate.
82
77
* The `return` keyword may be used in closures.
83
78
* Types that can be copied via a memcpy implement the `Pod` kind.
84
- * The `cfg` attribute can now be used on struct fields and enum variants.
85
79
86
80
* Libraries
87
81
* std: The `option` and `result` API's have been overhauled to make them
@@ -96,14 +90,9 @@ Version 0.9 (January 2014)
96
90
* std: The reference counted pointer type `extra::rc` moved into std.
97
91
* std: The `Gc` type in the `gc` module will replace `@` (it is currently
98
92
just a wrapper around it).
99
- * std: The `Either` type has been removed.
100
93
* std: `fmt::Default` can be implemented for any type to provide default
101
94
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
102
95
* std: The `rand` API continues to be tweaked.
103
- * std: The `rust_begin_unwind` function, useful for insterting breakpoints
104
- on failure in gdb, is now named `rust_fail`.
105
- * std: The `each_key` and `each_value` methods on `HashMap` have been
106
- replaced by the `keys` and `values` iterators.
107
96
* std: Functions dealing with type size and alignment have moved from the
108
97
`sys` module to the `mem` module.
109
98
* std: The `path` module was written and API changed.
0 commit comments