Merge pull request #3561 from Hywan/fix-base-box-stream

chore(base): Remove `BoxStream` as it's never used
This commit is contained in:
Ivan Enderlin
2024-06-17 14:46:09 +02:00
committed by GitHub

View File

@@ -24,7 +24,6 @@ use std::{
collections::{BTreeMap, BTreeSet},
fmt,
ops::Deref,
pin::Pin,
result::Result as StdResult,
str::Utf8Error,
sync::{Arc, RwLock as StdRwLock},
@@ -53,9 +52,6 @@ use ruma::{
};
use tokio::sync::{broadcast, Mutex, RwLock};
/// BoxStream of owned Types
pub type BoxStream<T> = Pin<Box<dyn futures_util::Stream<Item = T> + Send>>;
use crate::{
rooms::{normal::RoomInfoUpdate, RoomInfo, RoomState},
MinimalRoomMemberEvent, Room, RoomStateFilter, SessionMeta,