rust/src/libstd
blake2-ppc fc17d4371f vec: Add .shift_opt() -> Option<T>
Add a function to safely retrieve the first element of a ~[T], as
Option<T>. Implement shift() using shift_opt().

Add tests for both .shift() and .shift_opt()
2013-07-05 20:32:25 +02:00
..
num rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
rand librustc: Disallow "mut" from distributing over bindings. 2013-06-28 10:44:15 -04:00
rt Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
str vec: remove BaseIter implementation 2013-06-23 02:05:20 -04:00
task Removing a lot of usage of '&const' 2013-06-29 08:35:48 -07:00
unstable rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
at_vec.rs Remove standalone comparison functions in vec, make the trait impls better. 2013-07-04 00:46:50 +10:00
bool.rs Small documentation changes 2013-07-01 23:37:11 -07:00
borrow.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
cast.rs Remove all #[cfg(stage0)]-protected code 2013-06-21 02:43:02 +12:00
cell.rs Rename #[mutable] to #[no_freeze] 2013-06-29 00:56:36 -04:00
char.rs Specialize to_str_common for floats/integers in strconv 2013-06-30 09:19:25 -07:00
cleanup.rs Remove unused TyDesc parameter from the glue functions 2013-06-23 13:02:00 +02:00
clone.rs librustc: Change "Owned" to "Send" everywhere 2013-06-28 10:44:15 -04:00
cmp.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
comm.rs librustc: Change "Owned" to "Send" everywhere 2013-06-28 10:44:15 -04:00
condition.rs Change finalize -> drop. 2013-06-25 21:14:39 -04:00
container.rs container: remove internal iterators from Map 2013-06-25 16:26:23 -04:00
either.rs Implement consuming iterators for ~[], remove vec::{consume, consume_reverse, map_consume}. 2013-07-04 00:46:49 +10:00
from_str.rs Require documentation by default for libstd 2013-05-30 01:02:55 -05:00
gc.rs rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
hash.rs librustc: Remove the broken overloaded assign-ops from the language. 2013-06-28 10:44:16 -04:00
hashmap.rs Implement consuming iterators for ~[], remove vec::{consume, consume_reverse, map_consume}. 2013-07-04 00:46:49 +10:00
io.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
iter.rs Move most iter functionality to extra, fixes #7343 2013-07-01 01:50:40 +02:00
iterator.rs Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this 2013-06-30 21:59:44 +10:00
kinds.rs Small documentation changes 2013-07-01 23:37:11 -07:00
libc.rs auto merge of #7523 : huonw/rust/uppercase-statics-lint, r=cmr 2013-07-03 04:31:50 -07:00
local_data.rs Change taskgroup key type to fn:Copy in prep for noncopyable stack closures. 2013-06-29 03:58:50 -04:00
logging.rs Require documentation by default for libstd 2013-05-30 01:02:55 -05:00
macros.rs libstd: Rename libcore to libstd and libstd to libextra; update makefiles. 2013-05-22 21:57:05 -07:00
managed.rs managed: rm RC_EXCHANGE_UNIQUE constant 2013-06-30 16:22:58 -04:00
nil.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
ops.rs Change finalize -> drop. 2013-06-25 21:14:39 -04:00
option.rs Removing a lot of usage of '&const' 2013-06-29 08:35:48 -07:00
os.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
owned.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
path.rs Add each_parent to WindowsPath 2013-06-28 10:47:59 -04:00
pipes.rs librustc: Change "Owned" to "Send" everywhere 2013-06-28 10:44:15 -04:00
prelude.rs Remove standalone comparison functions in vec, make the trait impls better. 2013-07-04 00:46:50 +10:00
ptr.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
rand.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
reflect.rs Remove intrinsic module 2013-06-23 12:49:16 +02:00
repr.rs Specialize to_str_common for floats/integers in strconv 2013-06-30 09:19:25 -07:00
result.rs vec: remove BaseIter implementation 2013-06-23 02:05:20 -04:00
run.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
stackwalk.rs Require documentation by default for libstd 2013-05-30 01:02:55 -05:00
std.rs Bump version from 0.7-pre to 0.7 2013-06-30 16:36:48 -07:00
str.rs Convert vec::{as_imm_buf, as_mut_buf} to methods. 2013-07-04 00:46:50 +10:00
sys.rs Remove rust_call_tydesc_glue 2013-06-23 12:49:16 +02:00
to_bytes.rs 'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep for making them noncopyable. 2013-06-29 04:39:34 -04:00
to_str.rs librustc: Fix merge fallout and test cases. 2013-06-28 10:44:17 -04:00
trie.rs Removing a lot of usage of '&const' 2013-06-29 08:35:48 -07:00
tuple.rs Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this 2013-06-30 21:59:44 +10:00
unicode.rs rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
util.rs fix stage0 build 2013-06-28 00:23:38 -04:00
vec.rs vec: Add .shift_opt() -> Option<T> 2013-07-05 20:32:25 +02:00