use std::path::Path; fn main() { let path = Path::new("filename.txt"); if path.exists() { println!("File exists."); } else { println!("File not found.
確定! 回上一頁