Comment Comment by remcob Why stop there and not go all the way to pub fn read(path: Path) -> Bytes { File::open(path).read_to_end() } parent remcob 2 years ago