mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +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,7 +1,3 @@
|
|||
pub(crate) mod error;
|
||||
pub(crate) mod on_demand_hashmap;
|
||||
pub(crate) mod room_version;
|
||||
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
cmp, fmt,
|
||||
|
|
@ -21,6 +17,10 @@ use ruma::{
|
|||
|
||||
use crate::{Error, Result};
|
||||
|
||||
pub(crate) mod error;
|
||||
pub(crate) mod on_demand_hashmap;
|
||||
pub(crate) mod room_version;
|
||||
|
||||
// Hopefully we have a better chat protocol in 530 years
|
||||
#[allow(clippy::as_conversions, clippy::cast_possible_truncation)]
|
||||
pub(crate) fn millis_since_unix_epoch() -> u64 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue