Fix linting warning

This commit is contained in:
Tobie Morgan Hitchcock 2023-02-13 16:05:02 +00:00
parent 1fb147eb5e
commit 5d55f28b98

View file

@ -32,7 +32,7 @@ use warp::Filter;
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)]
pub fn config() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {