This commit is contained in:
Felix Ableitner 2024-05-23 12:59:20 +02:00
parent 5e1a98cc9f
commit 0c487a65eb
2 changed files with 9 additions and 4 deletions

View file

@ -127,7 +127,9 @@ pub struct LanguageId(pub i32);
/// The comment reply id.
pub struct CommentReplyId(i32);
#[derive(Debug, Copy, Clone, Hash, Eq, PartialEq, Serialize, Deserialize, Default, Ord, PartialOrd)]
#[derive(
Debug, Copy, Clone, Hash, Eq, PartialEq, Serialize, Deserialize, Default, Ord, PartialOrd,
)]
#[cfg_attr(feature = "full", derive(DieselNewType, TS))]
#[cfg_attr(feature = "full", ts(export))]
/// The instance id.

View file

@ -164,8 +164,11 @@ mod test {
};
use lemmy_utils::error::LemmyError;
use serial_test::serial;
use std::sync::{Arc, Mutex};
use tokio::{spawn, time::sleep};use std::collections::HashSet;
use std::{
collections::HashSet,
sync::{Arc, Mutex},
};
use tokio::{spawn, time::sleep};
struct TestData {
send_manager: SendManager,