run cargo fix for rust 2024 changes and rustfmt

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2025-02-23 01:17:45 -05:00
commit a1e1f40ded
No known key found for this signature in database
320 changed files with 2212 additions and 2039 deletions

View file

@ -1,25 +1,25 @@
use std::cmp;
use conduwuit::{
debug, debug_info, debug_warn, error, info,
Err, Result, debug, debug_info, debug_warn, error, info,
result::NotFound,
utils::{
stream::{TryExpect, TryIgnore},
IterStream, ReadyExt,
stream::{TryExpect, TryIgnore},
},
warn, Err, Result,
warn,
};
use futures::{FutureExt, StreamExt};
use itertools::Itertools;
use ruma::{
OwnedUserId, RoomId, UserId,
events::{
push_rules::PushRulesEvent, room::member::MembershipState, GlobalAccountDataEventType,
GlobalAccountDataEventType, push_rules::PushRulesEvent, room::member::MembershipState,
},
push::Ruleset,
OwnedUserId, RoomId, UserId,
};
use crate::{media, Services};
use crate::{Services, media};
/// The current schema version.
/// - If database is opened at greater version we reject with error. The