mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-16 18:28:22 -07:00
Cargo Clippy
This commit is contained in:
parent
2a52f666dc
commit
00996dd834
@ -103,7 +103,7 @@ pub async fn search_events_route(
|
|||||||
.take(limit)
|
.take(limit)
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let next_batch = if results.len() < limit as usize {
|
let next_batch = if results.len() < limit {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some((skip + limit).to_string())
|
Some((skip + limit).to_string())
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
use std::collections::HashSet;
|
use std::{collections::HashSet, mem};
|
||||||
use std::mem;
|
|
||||||
|
|
||||||
use ruma::{OwnedUserId, RoomId, UserId};
|
use ruma::{OwnedUserId, RoomId, UserId};
|
||||||
|
|
||||||
|
@ -28,7 +28,10 @@ use http::{
|
|||||||
};
|
};
|
||||||
use opentelemetry::trace::{FutureExt, Tracer};
|
use opentelemetry::trace::{FutureExt, Tracer};
|
||||||
use ruma::api::{
|
use ruma::api::{
|
||||||
client::{error::Error as RumaError, error::ErrorKind, uiaa::UiaaResponse},
|
client::{
|
||||||
|
error::{Error as RumaError, ErrorKind},
|
||||||
|
uiaa::UiaaResponse,
|
||||||
|
},
|
||||||
IncomingRequest,
|
IncomingRequest,
|
||||||
};
|
};
|
||||||
use tokio::signal;
|
use tokio::signal;
|
||||||
|
Loading…
Reference in New Issue
Block a user