Change some #[allow]s to #[expect]s (#40458)

Removes some unneeded lints.

Testing: Refactor
Part of: #40383

Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>
This commit is contained in:
WaterWhisperer
2025-11-06 20:31:48 +08:00
committed by GitHub
parent 9193b1d310
commit 241bff962d
74 changed files with 153 additions and 188 deletions

View File

@@ -47,7 +47,7 @@ use crate::realms::enter_realm;
use crate::script_module::ScriptFetchOptions;
use crate::script_runtime::{CanGc, IntroductionType};
#[allow(unsafe_code)]
#[expect(unsafe_code)]
pub(crate) fn handle_evaluate_js(
global: &GlobalScope,
eval: String,