summary refs log tree commit diff
path: root/rust/src
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-03-03 14:26:14 +0000
committerGitHub <noreply@github.com>2023-03-03 14:26:14 +0000
commit242d2a27ce18e682106854f5280566f4ced98c34 (patch)
tree1067d5fd9aae684370d5d8433e9e0f8f174cb688 /rust/src
parentFix ICU tests on alpine / macOS. (#15177) (diff)
downloadsynapse-242d2a27ce18e682106854f5280566f4ced98c34.tar.xz
Use nightly rustfmt in CI (#15188)
As we use some nightly only options, e.g. to group and sort imports
consistently.
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/push/evaluator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/push/evaluator.rs b/rust/src/push/evaluator.rs
index 55846627cc..1c2a05ad9a 100644
--- a/rust/src/push/evaluator.rs
+++ b/rust/src/push/evaluator.rs
@@ -15,7 +15,6 @@
 use std::borrow::Cow;
 use std::collections::BTreeMap;
 
-use crate::push::{EventMatchPatternType, JsonValue};
 use anyhow::{Context, Error};
 use lazy_static::lazy_static;
 use log::warn;
@@ -27,6 +26,7 @@ use super::{
     Action, Condition, ExactEventMatchCondition, FilteredPushRules, KnownCondition,
     SimpleJsonValue,
 };
+use crate::push::{EventMatchPatternType, JsonValue};
 
 lazy_static! {
     /// Used to parse the `is` clause in the room member count condition.