Remove unused Clone impls on private types

This commit is contained in:
Jonas Platte
2022-06-08 18:02:36 +02:00
committed by Jonas Platte
parent fedcdb1e63
commit 6c8b520f14
2 changed files with 4 additions and 4 deletions

View File

@@ -24,14 +24,14 @@ use tracing::trace;
use super::{Result, StateChanges};
use crate::Store;
#[derive(Clone, Debug)]
pub struct AmbiguityCache {
#[derive(Debug)]
pub(crate) struct AmbiguityCache {
pub store: Store,
pub cache: BTreeMap<OwnedRoomId, BTreeMap<String, BTreeSet<OwnedUserId>>>,
pub changes: BTreeMap<OwnedRoomId, BTreeMap<OwnedEventId, AmbiguityChange>>,
}
#[derive(Clone, Debug)]
#[derive(Debug)]
struct AmbiguityMap {
display_name: String,
users: BTreeSet<OwnedUserId>,

View File

@@ -92,7 +92,7 @@ pub trait HttpSend: AsyncTraitDeps {
) -> Result<http::Response<Bytes>, HttpError>;
}
#[derive(Clone, Debug)]
#[derive(Debug)]
pub(crate) struct HttpClient {
pub(crate) inner: Arc<dyn HttpSend>,
pub(crate) homeserver: Arc<RwLock<Url>>,