From 3632c22feb1d23be2ace55d81164faa005a18e46 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 1 Nov 2020 16:19:03 +1000 Subject: [PATCH] clippy lint --- rslib/build/mergeftl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {