Skip to content

Commit 2ecd54a

Browse files
committed
chore(base): Remove BoxStream as it's never used.
This patch removes the public type alias `BoxedStream` which is never used in our code.
1 parent 6ecefd6 commit 2ecd54a

File tree

1 file changed

+0
-4
lines changed
  • crates/matrix-sdk-base/src/store

1 file changed

+0
-4
lines changed

crates/matrix-sdk-base/src/store/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ use std::{
2424
collections::{BTreeMap, BTreeSet},
2525
fmt,
2626
ops::Deref,
27-
pin::Pin,
2827
result::Result as StdResult,
2928
str::Utf8Error,
3029
sync::{Arc, RwLock as StdRwLock},
@@ -53,9 +52,6 @@ use ruma::{
5352
};
5453
use tokio::sync::{broadcast, Mutex, RwLock};
5554

56-
/// BoxStream of owned Types
57-
pub type BoxStream<T> = Pin<Box<dyn futures_util::Stream<Item = T> + Send>>;
58-
5955
use crate::{
6056
rooms::{normal::RoomInfoUpdate, RoomInfo, RoomState},
6157
MinimalRoomMemberEvent, Room, RoomStateFilter, SessionMeta,

0 commit comments

Comments
 (0)