diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2022-02-24 20:03:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-24 20:03:12 -0500 |
| commit | 3b12afd0723b288feb7c8c53ac3938a17fd0e57c (patch) | |
| tree | 8ac398efaef6e59e3ab2278f378706aa44b5641e /cli/tools/vendor/test.rs | |
| parent | c59152e4000393ad122855c26198c1d942497c00 (diff) | |
chore: upgrade to Rust 1.59 (#13767)
Diffstat (limited to 'cli/tools/vendor/test.rs')
| -rw-r--r-- | cli/tools/vendor/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/vendor/test.rs b/cli/tools/vendor/test.rs index b37e2b3b0..7f4c18fca 100644 --- a/cli/tools/vendor/test.rs +++ b/cli/tools/vendor/test.rs @@ -223,7 +223,7 @@ fn make_path(text: &str) -> PathBuf { // a cross platform path here assert!(text.starts_with('/')); if cfg!(windows) { - PathBuf::from(format!("C:{}", text.replace("/", "\\"))) + PathBuf::from(format!("C:{}", text.replace('/', "\\"))) } else { PathBuf::from(text) } |
