From b67b774ba750eea5957cfe79fdebff78e1c6b625 Mon Sep 17 00:00:00 2001 From: Matt Kulukundis Date: Wed, 14 Aug 2024 09:30:31 -0400 Subject: [PATCH] fix: small clippy warning --- lib/src/repo_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/repo_path.rs b/lib/src/repo_path.rs index 0e305b5e97..d2748260bb 100644 --- a/lib/src/repo_path.rs +++ b/lib/src/repo_path.rs @@ -938,7 +938,7 @@ mod tests { let format = |before, after| { ui.format_copied_path(repo_path(before), repo_path(after)) - .replace("\\", "/") + .replace('\\', "/") }; assert_eq!(format("one/two/three", "one/two/three"), "one/two/three");