Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Feb 20, 2025
1 parent c17a3e7 commit f67bc92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions profiling/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,10 @@ mod tests {
"datadog.profiling.timeline_enabled",
),
#[cfg(feature = "io_profiling")]
(b"DD_PROFILING_EXPERIMENTAL_IO_ENABLED\0", "datadog.profiling.experimental_io_enabled"),
(
b"DD_PROFILING_EXPERIMENTAL_IO_ENABLED\0",
"datadog.profiling.experimental_io_enabled",
),
(b"DD_PROFILING_LOG_LEVEL\0", "datadog.profiling.log_level"),
(
b"DD_PROFILING_OUTPUT_PPROF\0",
Expand Down Expand Up @@ -1176,4 +1179,4 @@ mod tests {
let expected = AgentEndpoint::default();
assert_eq!(endpoint, expected);
}
}
}
2 changes: 1 addition & 1 deletion profiling/src/profiling/sample_type_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,4 @@ mod tests {
);
assert_eq!(values, vec![10, 20, 30, 70]);
}
}
}
2 changes: 1 addition & 1 deletion profiling/src/pthread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ unsafe extern "C" fn child() {
// SAFETY: done after config is used to shut down other things, and in a
// thread-safe context.
config::on_fork_in_child();
}
}

0 comments on commit f67bc92

Please sign in to comment.