Skip to content

Commit cbd0ea2

Browse files
committed
Fix clippy warning.
1 parent 4460e20 commit cbd0ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
6262
entry.read_to_string(&mut pathname)?;
6363

6464
// Sanitize the pathname
65-
let pathname = pathname.trim().replace("\\", "/");
65+
let pathname = pathname.trim().replace('\\', "/");
6666
let target_path = PathBuf::from(&pathname);
6767

6868
// Create directories for the target path

0 commit comments

Comments
 (0)