Skip to content

Commit

Permalink
Merge pull request #3561 from Hywan/fix-base-box-stream
Browse files Browse the repository at this point in the history
chore(base): Remove `BoxStream` as it's never used
  • Loading branch information
Hywan authored Jun 17, 2024
2 parents cb7814b + 2ecd54a commit 3ffeef5
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 3ffeef5

Please sign in to comment.