Skip to content

Commit 4792063

Browse files
yannhamivoanjo
andauthored
chore: improve comment
Apply suggestion from @ivoanjo Co-authored-by: Ivo Anjo <ivo.anjo@datadoghq.com>
1 parent efefa9f commit 4792063

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libdd-library-config/src/otel_thread_ctx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ pub mod linux {
5757
/// reader runs. `valid` is written with `ptr::write_volatile` so the compiler cannot reorder
5858
/// its store past the surrounding field writes:
5959
///
60-
/// - The writer sets `valid = 1` *after* all other fields are populated (publish).
6160
/// - The writer sets `valid = 0` *before* modifying fields in-place (modify).
61+
/// - The writer sets `valid = 1` *after* all other fields are populated (publish).
6262
#[repr(C)]
6363
pub struct ThreadContextRecord {
6464
/// 128-bit trace identifier; all-zeroes means "no trace".

0 commit comments

Comments
 (0)