Remove unnecessary unsafe impl Send/Sync for GeminiClient

Both reqwest::Client and String already implement Send and Sync,
so the manual unsafe impls were redundant.
This commit is contained in:
2026-01-30 20:27:54 +00:00
parent 92030a0dd9
commit 4c156fbb33

View File

@@ -14,9 +14,6 @@ pub struct GeminiClient {
api_key: String,
}
unsafe impl Send for GeminiClient {}
unsafe impl Sync for GeminiClient {}
impl GeminiClient {
pub fn new(api_key: String) -> Self {
GeminiClient {