Fix linting warning
This commit is contained in:
parent
1fb147eb5e
commit
5d55f28b98
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ use warp::Filter;
|
||||||
|
|
||||||
type WebSockets = RwLock<HashMap<Uuid, Sender<Message>>>;
|
type WebSockets = RwLock<HashMap<Uuid, Sender<Message>>>;
|
||||||
|
|
||||||
static WEBSOCKETS: Lazy<WebSockets> = Lazy::new(|| WebSockets::default());
|
static WEBSOCKETS: Lazy<WebSockets> = Lazy::new(WebSockets::default);
|
||||||
|
|
||||||
#[allow(opaque_hidden_inferred_bound)]
|
#[allow(opaque_hidden_inferred_bound)]
|
||||||
pub fn config() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
pub fn config() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
||||||
|
|
Loading…
Reference in a new issue