@@ -26,11 +26,14 @@ Version 1.0.0-alpha (January 2015)
2626 bounds and thus monomorphized and inlined, or via an opaque
2727 pointer (boxed) as in the old system. The new system is often
2828 referred to as 'unboxed' closures.
29+ * Traits now support [ associated types] [ assoc ] , allowing families
30+ of related types to be defined together and used generically in
31+ powerful ways.
2932 * Enum variants are [ namespaced by their type names] [ enum ] .
3033 * [ ` where ` clauses] [ where ] provide a more versatile and attractive
3134 syntax for specifying generic bounds, though the previous syntax
3235 remains valid.
33- * Rust again picks a [ fallback] (either i32 or f64) for uninferred
36+ * Rust again picks a [ fallback] [ fb ] (either i32 or f64) for uninferred
3437 numeric types.
3538 * Rust [ no longer has a runtime] [ rt ] of any description, and only
3639 supports OS threads, not green threads.
@@ -40,7 +43,7 @@ Version 1.0.0-alpha (January 2015)
4043 more consistent.
4144 * Rust now has a general [ range syntax] [ range ] , ` i..j ` , ` i.. ` , and
4245 ` ..j ` that produce range types and which, when combined with the
43- ` Index ` operator and multitispatch , leads to a convenient slice
46+ ` Index ` operator and multidispatch , leads to a convenient slice
4447 notation, ` [i..j] ` .
4548 * The new range syntax revealed an ambiguity in the fixed-length
4649 array syntax, so now fixed length arrays [ are written `[ T;
@@ -81,13 +84,15 @@ Version 1.0.0-alpha (January 2015)
8184 not terminated by a semicolon are [ parsed as
8285 expressions] [ macros ] , which makes expressions like `vec![ 1i32,
8386 2, 3] .len()` work as expected.
84- * Trait objects now implement their traits automatically.
87+ * Trait objects now implement their traits automatically, and
88+ traits that can be coerced to objects now must be [ object
89+ safe] [ objsafe ] .
8590 * Automatically deriving traits is now done with ` #[derive(...)] `
8691 not ` #[deriving(...)] ` for [ consistency with other naming
8792 conventions] [ derive ] .
88- * Importing the containing module at the same time as items it
89- contains is [ now done with ` self ` instead of ` mod ` ] [ self ] , as in
90- use ` foo::{self, bar} `
93+ * Importing the containing module or enum at the same time as
94+ items or variants they contain is [ now done with ` self ` instead
95+ of ` mod ` ] [ self ] , as in use ` foo::{self, bar} `
9196
9297* Libraries
9398
@@ -101,7 +106,7 @@ Version 1.0.0-alpha (January 2015)
101106 it is easier to discuss failure in the context of error handling
102107 without making clarifications as to whether you are referring to
103108 the 'fail' macro or failure more generally.
104- * On Linux, ` OsRng ` prefers the new, more reliable `getrandom'
109+ * On Linux, ` OsRng ` prefers the new, more reliable ` getrandom `
105110 syscall when available.
106111 * The 'serialize' crate has been renamed 'rustc-serialize' and
107112 moved out of the distribution to Cargo. Although it is widely
@@ -159,7 +164,9 @@ Version 1.0.0-alpha (January 2015)
159164[ show ] : https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md
160165[ derive ] : https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md
161166[ self ] : https://github.com/rust-lang/rfcs/blob/master/text/0532-self-in-use.md
162- [ fallback ] : https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md
167+ [ fb ] : https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md
168+ [ objsafe ] : https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md
169+ [ assoc ] : https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
163170
164171Version 0.12.0 (October 2014)
165172-----------------------------
0 commit comments