From d878fd692a0a7e3a26c97d29daeec791be5c2436 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 13 Feb 2022 22:58:51 +0100 Subject: [PATCH] Prefix all marker fields with underscores --- src/wrapper/util.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrapper/util.rs b/src/wrapper/util.rs index d28c1183..12fc4644 100644 --- a/src/wrapper/util.rs +++ b/src/wrapper/util.rs @@ -99,7 +99,7 @@ struct ScopedFtz { /// We can't directly implement !Send and !Sync, but this will do the same thing. This object /// affects the current thread's floating point registers, so it may only be dropped on the /// current thread. - send_sync_marker: PhantomData<*const ()>, + _send_sync_marker: PhantomData<*const ()>, } impl ScopedFtz { @@ -112,12 +112,12 @@ impl ScopedFtz { Self { should_disable_again: true, - send_sync_marker: PhantomData, + _send_sync_marker: PhantomData, } } else { Self { should_disable_again: false, - send_sync_marker: PhantomData, + _send_sync_marker: PhantomData, } } } else {