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
..
2013-07-01 23:37:11 -07:00
2013-07-01 23:37:11 -07:00
2013-06-30 16:36:48 -07:00
2013-07-05 20:32:25 +02:00