On Wed, Apr 18, 2012 at 1:54 PM, Brian Anderson <[email protected]> wrote: > > As I think about this further, with slices we probably don't need as_buf or > as_bytes since I think we will be able to create a string slice from a vec > slice and vice versa.
That would be great. I always forget that str::as_bytes includes a null, and it inevitably causes some obscure bug that takes me some time to track down. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
