diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-16 21:13:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-17 21:28:52 +0800 |
| commit | a3b597ba7efbf7e0ddbe9d72e7202ea7a6b286a9 (patch) | |
| tree | ef2ab58378c6f5009f9aa4d8560dd34bb6861f9b /src/client/connector | |
| parent | 368aee800658e9c1a9a30871c45fc6034cceda48 (diff) | |
perf: use explicit 'a lifetime instead of 'static
Diffstat (limited to 'src/client/connector')
| -rw-r--r-- | src/client/connector/httpconnector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector/httpconnector.rs b/src/client/connector/httpconnector.rs index a418b97..c6be503 100644 --- a/src/client/connector/httpconnector.rs +++ b/src/client/connector/httpconnector.rs @@ -7,7 +7,7 @@ use reqwest::{ use std::{net::IpAddr, thread::sleep, time::Duration}; pub struct HTTPConnector { - network_enforcer: Executor, + network_enforcer: Executor<'static>, pull_url: Url, ntfy_url: Url, ip_getter_url: Url, |
