Skip to content

Commit 41baa22

Browse files
committed
use static lifetime
1 parent bedcdc9 commit 41baa22

File tree

1 file changed

+1
-1
lines changed
  • crashtracker-ffi/src/collector

1 file changed

+1
-1
lines changed

crashtracker-ffi/src/collector/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub unsafe extern "C" fn ddog_crasht_init_without_receiver(
136136

137137
#[no_mangle]
138138
/// Returns a list of signals suitable for use in a crashtracker config.
139-
pub extern "C" fn ddog_crasht_default_signals<'a>() -> Slice<'a, libc::c_int> {
139+
pub extern "C" fn ddog_crasht_default_signals() -> Slice<'static, libc::c_int> {
140140
static DEFAULT_SYMBOLS: [libc::c_int; 4] =
141141
[libc::SIGBUS, libc::SIGABRT, libc::SIGSEGV, libc::SIGILL];
142142
Slice::new(&DEFAULT_SYMBOLS)

0 commit comments

Comments
 (0)