I don't think this should be a sub-module of `str`, since it's only related to it in the same way it is to [u8] (conversion). Perhaps a top-level module in libstd?