(filename: impl AsRef<std::path::Path>)
| 2 | use std::path::{Path, PathBuf}; |
| 3 | |
| 4 | fn bytes_from_file(filename: impl AsRef<std::path::Path>) -> io::Result<Vec<u8>> { |
| 5 | Ok(std::fs::read(filename)?) |
| 6 | } |
| 7 | |
| 8 | fn main() -> io::Result<()> { |
| 9 | let args: Vec<String> = std::env::args().collect(); |