@became_fish that said the code you have is going to crash because it promises that the Vec<char> data is UTF-8, which it isn't. you want to do chars.iter().collect::<String>() instead of this unsafe block, and then you'll get a String with no Result wrapper