Skip to content

Commit 4d5d49f

Browse files
committed
Linting
1 parent 730d1ae commit 4d5d49f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

datadog-crashtracker-ffi/src/runtime_callback.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub use datadog_crashtracker::RuntimeType as ddog_RuntimeType;
1717

1818
#[cfg(test)]
1919
use datadog_crashtracker::clear_runtime_callback;
20-
use std::ffi::{c_char, c_void};
20+
use std::ffi::c_char;
2121

2222
/// Result type for runtime callback registration
2323
#[repr(C)]
@@ -156,6 +156,7 @@ pub use datadog_crashtracker::RuntimeStackFrame as ddog_RuntimeStackFrame;
156156
mod tests {
157157
use super::*;
158158
use datadog_crashtracker::RuntimeStackFrame;
159+
use std::ffi::c_void;
159160
use std::ffi::CString;
160161
use std::ptr;
161162
use std::sync::Mutex;

datadog-crashtracker/src/runtime_callback.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ pub struct RuntimeStackFrame {
141141
///
142142
/// # Parameters
143143
/// - `emit_frame`: Function to call for each runtime frame (takes writer context and frame pointer)
144-
/// - `emit_stacktrace_string`: Function to call for complete stacktrace string (takes writer context and C string)
144+
/// - `emit_stacktrace_string`: Function to call for complete stacktrace string (takes writer
145+
/// context and C string)
145146
/// - `writer_ctx`: Opaque pointer to writer context that should be passed to emit functions
146147
///
147148
/// # Safety

0 commit comments

Comments
 (0)