摘要: use std::error::Error; use std::fs::File; use std::io::Read; pub fn read_file(path: &str) -> Result<String, Box<dyn Error>> { let mut content = String 阅读全文
posted @ 2023-03-01 15:27 gcvition 阅读(53) 评论(0) 推荐(0)