diff options
author | 林炳权 <695601626@qq.com> | 2024-04-11 06:08:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 22:08:23 +0000 |
commit | 9304126be5633d4e7d384a8df87f5833a7a145e2 (patch) | |
tree | c074d89e9f2423c5121721ea94b9b4fb3101a482 /ext/web/stream_resource.rs | |
parent | c6f1107e9c8835389479f4f2d80d3539d23df41e (diff) |
chore: update to Rust 1.77.2 (#23262)
update to Rust 1.77.2
---------
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'ext/web/stream_resource.rs')
-rw-r--r-- | ext/web/stream_resource.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/stream_resource.rs b/ext/web/stream_resource.rs index 9a46b6d47..b96ac36bc 100644 --- a/ext/web/stream_resource.rs +++ b/ext/web/stream_resource.rs @@ -594,7 +594,7 @@ mod tests { static V8_GLOBAL: OnceLock<()> = OnceLock::new(); thread_local! { - static ISOLATE: OnceCell<std::sync::Mutex<v8::OwnedIsolate>> = OnceCell::new(); + static ISOLATE: OnceCell<std::sync::Mutex<v8::OwnedIsolate>> = const { OnceCell::new() }; } fn with_isolate<T>(mut f: impl FnMut(&mut v8::Isolate) -> T) -> T { |