1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

unused import

This commit is contained in:
avdb13 2024-07-06 22:40:21 +02:00
parent f6e9cadfae
commit 33a8de934a
2 changed files with 2 additions and 4 deletions

View file

@ -2,18 +2,15 @@ use std::{
collections::BTreeMap, collections::BTreeMap,
fmt, fmt,
net::{IpAddr, Ipv4Addr}, net::{IpAddr, Ipv4Addr},
str::FromStr,
}; };
use ruma::{serde::Raw, OwnedRoomId, OwnedRoomOrAliasId, OwnedServerName, RoomVersionId}; use ruma::{OwnedServerName, RoomVersionId};
use serde::{de::IgnoredAny, Deserialize}; use serde::{de::IgnoredAny, Deserialize};
use tracing::warn; use tracing::warn;
use url::Url; use url::Url;
mod proxy; mod proxy;
use crate::Error;
use self::proxy::ProxyConfig; use self::proxy::ProxyConfig;
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]

View file

@ -526,6 +526,7 @@ impl Service {
}; };
let rooms = self.config.default_rooms.rooms.iter().map(String::as_str); let rooms = self.config.default_rooms.rooms.iter().map(String::as_str);
futures_util::future::try_join_all(rooms.map(f)) futures_util::future::try_join_all(rooms.map(f))
.await .await
.map(Vec::into_iter) .map(Vec::into_iter)