File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
datadog-crashtracker-ffi/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub use datadog_crashtracker::RuntimeType as ddog_RuntimeType;
17
17
18
18
#[ cfg( test) ]
19
19
use datadog_crashtracker:: clear_runtime_callback;
20
- use std:: ffi:: { c_char, c_void } ;
20
+ use std:: ffi:: c_char;
21
21
22
22
/// Result type for runtime callback registration
23
23
#[ repr( C ) ]
@@ -156,6 +156,7 @@ pub use datadog_crashtracker::RuntimeStackFrame as ddog_RuntimeStackFrame;
156
156
mod tests {
157
157
use super :: * ;
158
158
use datadog_crashtracker:: RuntimeStackFrame ;
159
+ use std:: ffi:: c_void;
159
160
use std:: ffi:: CString ;
160
161
use std:: ptr;
161
162
use std:: sync:: Mutex ;
Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ pub struct RuntimeStackFrame {
141
141
///
142
142
/// # Parameters
143
143
/// - `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)
145
146
/// - `writer_ctx`: Opaque pointer to writer context that should be passed to emit functions
146
147
///
147
148
/// # Safety
You can’t perform that action at this time.
0 commit comments