Skip to content

Commit a06a55a

Browse files
committed
chore: Bump Rust edition to 2021
1 parent eb161d6 commit a06a55a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/sgryjp/pmv"
77
readme = "README.md"
88
license = "MIT OR Apache-2.0"
99
categories = ["command-line-utilities", "filesystem"]
10-
edition = "2018"
10+
edition = "2021"
1111

1212
[dependencies]
1313
atty = "~0.2"

src/fsutil.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub fn move_files(
7373

7474
// Skip if the input was not "y"
7575
let line = line.trim();
76-
if line.to_ascii_lowercase() != "y" {
76+
if !line.eq_ignore_ascii_case("y") {
7777
continue;
7878
}
7979
}

0 commit comments

Comments
 (0)