1
0
Fork 0

Prefix all marker fields with underscores

This commit is contained in:
Robbert van der Helm 2022-02-13 22:58:51 +01:00
parent 6d157e06b5
commit d878fd692a

View file

@ -99,7 +99,7 @@ struct ScopedFtz {
/// We can't directly implement !Send and !Sync, but this will do the same thing. This object /// 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 /// affects the current thread's floating point registers, so it may only be dropped on the
/// current thread. /// current thread.
send_sync_marker: PhantomData<*const ()>, _send_sync_marker: PhantomData<*const ()>,
} }
impl ScopedFtz { impl ScopedFtz {
@ -112,12 +112,12 @@ impl ScopedFtz {
Self { Self {
should_disable_again: true, should_disable_again: true,
send_sync_marker: PhantomData, _send_sync_marker: PhantomData,
} }
} else { } else {
Self { Self {
should_disable_again: false, should_disable_again: false,
send_sync_marker: PhantomData, _send_sync_marker: PhantomData,
} }
} }
} else { } else {