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,5 +1,3 @@
mod data;
use std::{
collections::{BTreeMap, HashMap, HashSet},
fmt::Debug,
@ -8,7 +6,6 @@ use std::{
};
use base64::{engine::general_purpose, Engine as _};
pub(crate) use data::Data;
use federation::transactions::send_transaction_message;
use futures_util::{stream::FuturesUnordered, StreamExt};
use ruma::{
@ -50,6 +47,10 @@ use crate::{
Config, Error, PduEvent, Result,
};
mod data;
pub(crate) use data::Data;
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub(crate) enum Destination {
Appservice(String),