chore(base): Remove BoxStream as it's never used.

This patch removes the public type alias `BoxedStream` which is never
used in our code.
This commit is contained in:
Ivan Enderlin
2024-06-17 13:08:59 +02:00
parent 6ecefd6bc7
commit 2ecd54a3b2

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,