Huon Wilson
|
efc71a8bdb
|
std: unify the str -> [u8] functions as 3 methods: .as_bytes() and .as_bytes_with_null[_consume]().
The first acts on &str and is not nul-terminated, the last two act on strings
that are always null terminated (&'static str, ~str and @str).
|
2013-06-12 12:21:04 +10:00 |
|
Brian Anderson
|
84d2695921
|
std::rt: Work around a dynamic borrowck bug
|
2013-06-10 17:46:49 -07:00 |
|
Patrick Walton
|
8114d0e950
|
librustc: Disallow multiple patterns from appearing in a "let" declaration.
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
|
2013-06-04 21:45:42 -07:00 |
|
Philipp Brüschweiler
|
34ee63e93b
|
std::cell: Modernize constructors
Part of #3853
|
2013-06-04 12:03:58 +02:00 |
|
Patrick Walton
|
206ab89629
|
librustc: Stop reexporting the standard modules from prelude.
|
2013-05-29 19:04:53 -07:00 |
|
Erick Tryzelaar
|
dc970c13f4
|
cleanup warnings from libstd
|
2013-05-23 17:48:16 -07:00 |
|
Patrick Walton
|
18df18c817
|
libstd: Fix merge fallout.
|
2013-05-22 21:57:11 -07:00 |
|
Patrick Walton
|
0c820d4123
|
libstd: Rename libcore to libstd and libstd to libextra; update makefiles.
This only changes the directory names; it does not change the "real"
metadata names.
|
2013-05-22 21:57:05 -07:00 |
|