Prefix all marker fields with underscores
This commit is contained in:
parent
6d157e06b5
commit
d878fd692a
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue