chore: latest clippy

This commit is contained in:
Maccesch 2024-02-23 02:36:39 +00:00
parent f136be643c
commit 76facdedaa
2 changed files with 29 additions and 29 deletions

View file

@ -1,6 +1,6 @@
use crate::{UseDocument, UseWindow}; use crate::{UseDocument, UseWindow};
use cfg_if::cfg_if; use cfg_if::cfg_if;
use leptos::html::{ElementDescriptor, HtmlElement}; use leptos::html::ElementDescriptor;
use leptos::*; use leptos::*;
use std::marker::PhantomData; use std::marker::PhantomData;
use std::ops::Deref; use std::ops::Deref;

View file

@ -9,7 +9,7 @@ use std::time::Duration;
use crate::core::ConnectionReadyState; use crate::core::ConnectionReadyState;
use default_struct_builder::DefaultBuilder; use default_struct_builder::DefaultBuilder;
use js_sys::Array; use js_sys::Array;
use wasm_bindgen::{prelude::*, JsCast, JsValue}; use wasm_bindgen::prelude::*;
use web_sys::{BinaryType, CloseEvent, Event, MessageEvent, WebSocket}; use web_sys::{BinaryType, CloseEvent, Event, MessageEvent, WebSocket};
/// Creating and managing a [Websocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) connection. /// Creating and managing a [Websocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) connection.