In the following code, you'll see that I use Path::extension, which returns Option<&OsStr>: fn find_files(paths: &[String]) -> MyResult<Vec<PathBuf>> { let ...
確定! 回上一頁