clippy fixes for wasm for rust 1.80

This commit is contained in:
Christien Rioux 2024-07-27 17:25:15 -04:00
parent 006e7aaaf5
commit a363b26673
3 changed files with 1 additions and 3 deletions

View File

@ -181,6 +181,7 @@ build-android:
unit-tests-clippy-linux: unit-tests-clippy-linux:
FROM +code-linux FROM +code-linux
RUN cargo clippy RUN cargo clippy
RUN cargo clippy --target=wasm32-unknown-unknown
unit-tests-docs-linux: unit-tests-docs-linux:
FROM +code-linux FROM +code-linux

View File

@ -116,7 +116,6 @@ impl WebsocketNetworkConnection {
} }
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
///
pub(in crate::network_manager) struct WebsocketProtocolHandler {} pub(in crate::network_manager) struct WebsocketProtocolHandler {}

View File

@ -1,5 +1,3 @@
#![cfg(target_arch = "wasm32")]
use super::*; use super::*;
use core::sync::atomic::{AtomicI8, AtomicU32, Ordering}; use core::sync::atomic::{AtomicI8, AtomicU32, Ordering};
use js_sys::{global, Reflect}; use js_sys::{global, Reflect};