mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -165,7 +165,7 @@ use crate::{devtools, webdriver_handlers};
|
|||
|
||||
pub type ImageCacheMsg = (PipelineId, PendingImageResponse);
|
||||
|
||||
thread_local!(static SCRIPT_THREAD_ROOT: Cell<Option<*const ScriptThread>> = Cell::new(None));
|
||||
thread_local!(static SCRIPT_THREAD_ROOT: Cell<Option<*const ScriptThread>> = const { Cell::new(None) });
|
||||
|
||||
pub unsafe fn trace_thread(tr: *mut JSTracer) {
|
||||
SCRIPT_THREAD_ROOT.with(|root| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue