mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 00:31:24 +01:00
fix mod/use order
Yes, it does actually bother me, thanks for asking.
This commit is contained in:
parent
287f6b9163
commit
5a490a4397
30 changed files with 83 additions and 50 deletions
|
|
@ -1,5 +1,7 @@
|
|||
mod data;
|
||||
|
||||
pub(crate) use data::Data;
|
||||
|
||||
macro_rules! short_id_type {
|
||||
($name:ident) => {
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
|
@ -23,5 +25,4 @@ short_id_type!(ShortEventId);
|
|||
short_id_type!(ShortStateHash);
|
||||
short_id_type!(ShortStateKey);
|
||||
|
||||
pub(crate) use data::Data;
|
||||
pub(crate) type Service = &'static dyn Data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue