From ac67fce3f6bdf70ea927a3c3688cd68a8553e913 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 18 Dec 2024 01:07:44 -0600 Subject: [PATCH] fmt --- libs/stringtable/src/rapify.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/stringtable/src/rapify.rs b/libs/stringtable/src/rapify.rs index 711f8942..43f4b30f 100644 --- a/libs/stringtable/src/rapify.rs +++ b/libs/stringtable/src/rapify.rs @@ -1,6 +1,6 @@ use crate::{Key, Project, ALL_LANGUAGES}; use hemtt_workspace::WorkspacePath; -use tracing::{warn, trace}; +use tracing::{trace, warn}; #[derive(Default, Debug)] pub struct XmlbLayout { @@ -140,7 +140,7 @@ pub fn rapify(project: &Project) -> Option { let unescaped = quick_xml::escape::unescape(phrase.as_str()); if unescaped.is_err() { warn!("failed to unescape stringtable entry [{}]", phrase); - return None + return None; } write_string(&mut translation_buffer, &unescaped.unwrap_or_default()); }