Browse Source

remove unnecessary lifetime

Chelsea Holland Komlo 6 years ago
parent
commit
510a91af53
1 changed files with 1 additions and 1 deletions
  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,