diff --git a/profiling/src/config.rs b/profiling/src/config.rs index 9e8cf49e1f..6773eccebe 100644 --- a/profiling/src/config.rs +++ b/profiling/src/config.rs @@ -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", @@ -1176,4 +1179,4 @@ mod tests { let expected = AgentEndpoint::default(); assert_eq!(endpoint, expected); } -} \ No newline at end of file +} diff --git a/profiling/src/profiling/sample_type_filter.rs b/profiling/src/profiling/sample_type_filter.rs index 2ad6b0764c..8110408e85 100644 --- a/profiling/src/profiling/sample_type_filter.rs +++ b/profiling/src/profiling/sample_type_filter.rs @@ -259,4 +259,4 @@ mod tests { ); assert_eq!(values, vec![10, 20, 30, 70]); } -} \ No newline at end of file +} diff --git a/profiling/src/pthread.rs b/profiling/src/pthread.rs index f448a71702..512631c671 100644 --- a/profiling/src/pthread.rs +++ b/profiling/src/pthread.rs @@ -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(); -} \ No newline at end of file +}