Comment Comment by Ygg2 > Rust: `&str`, 'some bytes, and a length', 'Constructing a non-UTF-8 string slice is not immediate undefined behaviorIf you're constructing invalid `str` you already have severely fucked up. And dog is eating your HDD. parent Ygg2 2 years ago
If you're constructing invalid `str` you already have severely fucked up. And dog is eating your HDD.