summaryrefslogtreecommitdiff
path: root/ext/web/hr_timer_lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/hr_timer_lock.rs')
-rw-r--r--ext/web/hr_timer_lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/hr_timer_lock.rs b/ext/web/hr_timer_lock.rs
index f1f588d6c..cd141a638 100644
--- a/ext/web/hr_timer_lock.rs
+++ b/ext/web/hr_timer_lock.rs
@@ -63,5 +63,5 @@ pub(crate) fn hr_timer_lock() -> windows::HrTimerLock {
/// No-op on other platforms.
#[cfg(not(target_os = "windows"))]
pub(crate) fn hr_timer_lock() -> (std::marker::PhantomData<()>,) {
- (std::marker::PhantomData::default(),)
+ Default::default()
}