diff --git a/rslib/build/mergeftl.rs b/rslib/build/mergeftl.rs index 4ed571790..77fa072f4 100644 --- a/rslib/build/mergeftl.rs +++ b/rslib/build/mergeftl.rs @@ -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) {