Skip to content

Commit

Permalink
chore(base): Remove BoxStream as it's never used.
Browse files Browse the repository at this point in the history
This patch removes the public type alias `BoxedStream` which is never
used in our code.
  • Loading branch information
Hywan committed Jun 17, 2024
1 parent 6ecefd6 commit 2ecd54a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/matrix-sdk-base/src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2ecd54a

Please sign in to comment.