summaryrefslogtreecommitdiff
path: root/ext/web/hr_timer_lock.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-13 15:16:24 -0600
committerGitHub <noreply@github.com>2023-07-13 15:16:24 -0600
commit8465bd0037acbaac0c7dfab6a8c6dbf47539934e (patch)
treec2ba7e1ba75a45ba552f40f7a09407674a890916 /ext/web/hr_timer_lock.rs
parentc5ddb5f205dcd6b273b0b451f01f79b68621b2e4 (diff)
chore: update to Rust 1.71 (#19822)
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()
}