Commit 7a7c972d authored by Chunchi Che's avatar Chunchi Che

fix clippy

parent fdfed1f7
...@@ -29,7 +29,7 @@ pub fn strings_conf_reader(path: impl AsRef<Path>) -> anyhow::Result<StringsMana ...@@ -29,7 +29,7 @@ pub fn strings_conf_reader(path: impl AsRef<Path>) -> anyhow::Result<StringsMana
for line in reader.lines() { for line in reader.lines() {
let line = line?; let line = line?;
if !line.starts_with("#") { if !line.starts_with('#') {
if let Some((r#type, left)) = line.split_once(' ') { if let Some((r#type, left)) = line.split_once(' ') {
if let Some((code, s)) = left.split_once(' ') { if let Some((code, s)) = left.split_once(' ') {
results results
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment