mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
clippy lint
This commit is contained in:
parent
5e602c553f
commit
d36162bd49
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ fn get_ftl_data_from_provided_files(sources: String) -> FTLData {
|
|||
let path = Path::new("..").join(path);
|
||||
std::fs::read_to_string(path).unwrap()
|
||||
});
|
||||
if !entry.ends_with("\n") {
|
||||
if !entry.ends_with('\n') {
|
||||
panic!(".ftl file should end with a newline: {}", path);
|
||||
}
|
||||
match (first_parent, second_parent) {
|
||||
|
|
Loading…
Reference in a new issue