From fdc9d30652969743dcb8eba781b1bee93c4b86f6 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 21 Apr 2021 13:33:16 +0200 Subject: [PATCH] common: Remove extraneous semicolons --- ruma-common/src/push/condition.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruma-common/src/push/condition.rs b/ruma-common/src/push/condition.rs index 22ae60cf..e7cde91d 100644 --- a/ruma-common/src/push/condition.rs +++ b/ruma-common/src/push/condition.rs @@ -293,12 +293,12 @@ impl FlattenedJson { JsonValue::String(s) => { if self.map.insert(path.clone(), s).is_some() { warn!("Duplicate path in flattened JSON: {}", path); - }; + } } JsonValue::Number(_) | JsonValue::Bool(_) => { if self.map.insert(path.clone(), value.to_string()).is_some() { warn!("Duplicate path in flattened JSON: {}", path); - }; + } } JsonValue::Array(_) | JsonValue::Null => {} }