We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb161d6 commit a06a55aCopy full SHA for a06a55a
Cargo.toml
@@ -7,7 +7,7 @@ repository = "https://github.com/sgryjp/pmv"
7
readme = "README.md"
8
license = "MIT OR Apache-2.0"
9
categories = ["command-line-utilities", "filesystem"]
10
-edition = "2018"
+edition = "2021"
11
12
[dependencies]
13
atty = "~0.2"
src/fsutil.rs
@@ -73,7 +73,7 @@ pub fn move_files(
73
74
// Skip if the input was not "y"
75
let line = line.trim();
76
- if line.to_ascii_lowercase() != "y" {
+ if !line.eq_ignore_ascii_case("y") {
77
continue;
78
}
79
0 commit comments