Explorar o código

remove unnecessary lifetime

Chelsea Holland Komlo %!s(int64=8) %!d(string=hai) anos
pai
achega
510a91af53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/rust/tor_log/tor_log.rs

+ 1 - 1
src/rust/tor_log/tor_log.rs

@@ -151,7 +151,7 @@ pub mod log {
     pub static mut LAST_LOGGED_FUNCTION: *mut String = 0 as *mut String;
     pub static mut LAST_LOGGED_MESSAGE: *mut String = 0 as *mut String;
 
-    pub unsafe fn tor_log_string<'a>(
+    pub unsafe fn tor_log_string(
         _severity: c_int,
         _domain: u32,
         function: *const c_char,