Skip to content

Commit baafb20

Browse files
committed
refactor(web): remove unrequired #[allow] attribute
1 parent b5bd48c commit baafb20

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

crates/ironrdp-web/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#![doc = include_str!("../README.md")]
22
#![doc(html_logo_url = "https://cdnweb.devolutions.net/images/projects/devolutions/logos/devolutions-icon-shadow.svg")]
3-
#![allow(clippy::new_without_default)] // Default trait can’t be used by wasm consumer anyway
4-
#![allow(unsafe_op_in_unsafe_fn)] // We can’t control code generated by `wasm-bindgen`
3+
#![allow(clippy::new_without_default)] // Default trait can’t be used by wasm consumer anyway.
54

6-
// Silence the unused_crate_dependencies lint
7-
// These crates are added just to enable additional WASM features
5+
// Silence the unused_crate_dependencies lint.
6+
// These crates are added just to enable additional WASM features.
87
extern crate chrono as _;
98
extern crate getrandom as _;
109
extern crate time as _;

0 commit comments

Comments
 (0)