diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-03-26 03:17:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 19:17:37 +0100 |
commit | e7954413e16d5814db5da6389f8d6e0c328812aa (patch) | |
tree | 2840a275019df3e193c7c2f84442740ce7b7e48e /cli/fs_util.rs | |
parent | 881e1e8164f1661158bac24f7ec03b969a0a8a02 (diff) |
upgrade: Rust 1.51.0 (#9895)
Diffstat (limited to 'cli/fs_util.rs')
-rw-r--r-- | cli/fs_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fs_util.rs b/cli/fs_util.rs index 04cdfff75..584d62598 100644 --- a/cli/fs_util.rs +++ b/cli/fs_util.rs @@ -248,7 +248,7 @@ mod tests { #[test] fn test_collect_files() { - fn create_files(dir_path: &PathBuf, files: &[&str]) { + fn create_files(dir_path: &Path, files: &[&str]) { std::fs::create_dir(dir_path).expect("Failed to create directory"); for f in files { let path = dir_path.join(f); |