mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
script/dom/: Change some #[allow]s to #[expect]s (#40454)
Removes some unneeded lints, especially `#[allow(unsafe_code)]`. Testing: Refactor Part of: #40383 Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>
This commit is contained in:
@@ -390,7 +390,6 @@ impl FetchResponseListener for ClassicContext {
|
||||
|
||||
/// <https://html.spec.whatwg.org/multipage/#fetch-a-classic-script>
|
||||
/// step 4-9
|
||||
#[allow(unsafe_code)]
|
||||
fn process_response_eof(
|
||||
&mut self,
|
||||
_: RequestId,
|
||||
@@ -1095,7 +1094,6 @@ impl HTMLScriptElement {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
/// <https://html.spec.whatwg.org/multipage/#run-a-module-script>
|
||||
pub(crate) fn run_a_module_script(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user