From baafb20063fbd201275e3bc1a969799fa8aa7775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Tue, 22 Apr 2025 19:52:10 +0900 Subject: [PATCH] refactor(web): remove unrequired #[allow] attribute --- crates/ironrdp-web/src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/ironrdp-web/src/lib.rs b/crates/ironrdp-web/src/lib.rs index dbbf254e..124294ff 100644 --- a/crates/ironrdp-web/src/lib.rs +++ b/crates/ironrdp-web/src/lib.rs @@ -1,10 +1,9 @@ #![doc = include_str!("../README.md")] #![doc(html_logo_url = "https://cdnweb.devolutions.net/images/projects/devolutions/logos/devolutions-icon-shadow.svg")] -#![allow(clippy::new_without_default)] // Default trait can’t be used by wasm consumer anyway -#![allow(unsafe_op_in_unsafe_fn)] // We can’t control code generated by `wasm-bindgen` +#![allow(clippy::new_without_default)] // Default trait can’t be used by wasm consumer anyway. -// Silence the unused_crate_dependencies lint -// These crates are added just to enable additional WASM features +// Silence the unused_crate_dependencies lint. +// These crates are added just to enable additional WASM features. extern crate chrono as _; extern crate getrandom as _; extern crate time as _;