Resolve FIXME
This commit is contained in:
parent
3428cabdca
commit
7764671c36
@ -94,7 +94,7 @@ ruma_api! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A filter represented either as its full JSON definition or the ID of a saved filter.
|
/// A filter represented either as its full JSON definition or the ID of a saved filter.
|
||||||
#[derive(Clone, Debug, Outgoing, Serialize)]
|
#[derive(Clone, Copy, Debug, Outgoing, Serialize)]
|
||||||
#[allow(clippy::large_enum_variant)]
|
#[allow(clippy::large_enum_variant)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
pub enum Filter<'a> {
|
pub enum Filter<'a> {
|
||||||
|
@ -331,7 +331,6 @@ where
|
|||||||
let client = self.clone();
|
let client = self.clone();
|
||||||
stream::try_unfold(since, move |since| {
|
stream::try_unfold(since, move |since| {
|
||||||
let client = client.clone();
|
let client = client.clone();
|
||||||
let filter = filter.clone(); // FIXME: Remove once `SyncFilter` is `Copy`
|
|
||||||
|
|
||||||
async move {
|
async move {
|
||||||
let response = client
|
let response = client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user