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
parent e97952b7f6
commit a1e1f40ded
No known key found for this signature in database
320 changed files with 2212 additions and 2039 deletions

View file

@ -3,7 +3,7 @@ use std::{
sync::{Arc, Mutex},
};
use conduwuit::{err, utils, utils::math::usize_from_f64, Err, Result};
use conduwuit::{Err, Result, err, utils, utils::math::usize_from_f64};
use database::Map;
use lru_cache::LruCache;

View file

@ -8,18 +8,18 @@ use std::{
};
use conduwuit::{
at, debug, debug_error, implement, trace,
Err, Result, at, debug, debug_error, implement, trace,
utils::{
stream::{ReadyExt, TryBroadbandExt},
IterStream,
stream::{ReadyExt, TryBroadbandExt},
},
validated, warn, Err, Result,
validated, warn,
};
use futures::{FutureExt, Stream, StreamExt, TryFutureExt, TryStreamExt};
use ruma::{EventId, OwnedEventId, RoomId};
use self::data::Data;
use crate::{rooms, rooms::short::ShortEventId, Dep};
use crate::{Dep, rooms, rooms::short::ShortEventId};
pub struct Service {
services: Services,