Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 02821c4

Browse files
committed
main: fix string to char with clippy
1 parent 70b766a commit 02821c4

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
@@ -279,7 +279,7 @@ fn get_changes(version: &str) -> String {
279279
break;
280280
}
281281

282-
if is_in_target_version_section && !line.starts_with("#") {
282+
if is_in_target_version_section && !line.starts_with('#') {
283283
extracted_changes.push_str(line);
284284
extracted_changes.push('\n');
285285
}

0 commit comments

Comments
 (0)