From 3b12afd0723b288feb7c8c53ac3938a17fd0e57c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 24 Feb 2022 20:03:12 -0500 Subject: chore: upgrade to Rust 1.59 (#13767) --- cli/tools/vendor/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/vendor/test.rs') 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) } -- cgit v1.2.3