From 014ddddba28f8b307a96169a65153f7a3f7a716f Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Mon, 25 Mar 2024 10:15:52 +0100 Subject: [PATCH] chore: lint --- src/config.rs | 2 +- src/error.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 296d9f867..d4eeb6f60 100644 --- a/src/config.rs +++ b/src/config.rs @@ -23,7 +23,7 @@ //! [librdkafka-config]: https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md use std::collections::HashMap; -use std::ffi::{CStr, CString}; +use std::ffi::CString; use std::iter::FromIterator; use std::os::raw::c_char; use std::ptr; diff --git a/src/error.rs b/src/error.rs index d1f1b9ad8..7217b7488 100644 --- a/src/error.rs +++ b/src/error.rs @@ -3,7 +3,6 @@ use std::error::Error; use std::ffi::{self, CStr}; use std::fmt; -use std::ptr; use std::sync::Arc; use rdkafka_sys as rdsys;