mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 23:44:53 -04:00
Merge pull request #3561 from Hywan/fix-base-box-stream
chore(base): Remove `BoxStream` as it's never used
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user