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

@ -5,6 +5,8 @@
use std::process::ExitCode;
use clap::Parser;
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]
use tikv_jemallocator::Jemalloc;
use tracing::{error, info};
mod api;
@ -19,8 +21,6 @@ mod utils;
pub(crate) use api::ruma_wrapper::{Ar, Ra};
pub(crate) use config::Config;
pub(crate) use service::{pdu::PduEvent, services, Services};
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]
use tikv_jemallocator::Jemalloc;
pub(crate) use utils::error::{Error, Result};
#[cfg(all(not(target_env = "msvc"), feature = "jemalloc"))]