From 6de53b631fcdb96d72639b6d2db3592d5fa8498d Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sun, 19 Dec 2021 02:44:42 +0530 Subject: refactor: use `once_cell` instead of `lazy_static` (#13135) --- ext/tls/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/tls/lib.rs') diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs index bcaf0f1be..a6775b95d 100644 --- a/ext/tls/lib.rs +++ b/ext/tls/lib.rs @@ -89,11 +89,6 @@ pub struct BasicAuth { pub password: String, } -lazy_static::lazy_static! { - static ref CLIENT_SESSION_MEMORY_CACHE: Arc = - Arc::new(ClientSessionMemoryCache::default()); -} - #[derive(Default)] struct ClientSessionMemoryCache(Mutex, Vec>>); -- cgit v1.2.3