summary refs log tree commit diff
path: root/src/libstd/to_bytes.rs
AgeCommit message (Collapse)AuthorLines
2013-06-29'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵Ben Blum-3/+6
for making them noncopyable.
2013-06-23vec: remove BaseIter implementationDaniel Micay-2/+3
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-29/+29
2013-06-15Add IterBytes impls for float/f32/f64. This allows creatinggareth-0/+30
HashMaps with floats as keys.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-10/+8
.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-05-30Require documentation by default for libstdAlex Crichton-0/+4
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-23core: remove iter_bytes helper functionsErick Tryzelaar-36/+0
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+354
This only changes the directory names; it does not change the "real" metadata names.