fix mod/use order

Yes, it does actually bother me, thanks for asking.
This commit is contained in:
Charles Hall 2024-10-03 15:28:24 -07:00
parent 287f6b9163
commit 5a490a4397
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
30 changed files with 83 additions and 50 deletions

View file

@ -1,7 +1,5 @@
mod data;
use std::sync::Arc;
pub(crate) use data::Data;
use ruma::{
api::client::relations::get_relating_events,
events::{relation::RelationType, TimelineEventType},
@ -12,6 +10,10 @@ use serde::Deserialize;
use super::timeline::PduCount;
use crate::{services, PduEvent, Result};
mod data;
pub(crate) use data::Data;
pub(crate) struct Service {
pub(crate) db: &'static dyn Data,
}