From 29cc1a6a396ee9d417b7002f156049f0ff19ff65 Mon Sep 17 00:00:00 2001 From: Zhihui Jiao Date: Sat, 11 Nov 2023 22:03:18 +0800 Subject: [PATCH] Fix build error --- src/topic_mgr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topic_mgr.rs b/src/topic_mgr.rs index 712dd57..0b34631 100644 --- a/src/topic_mgr.rs +++ b/src/topic_mgr.rs @@ -122,8 +122,8 @@ impl TopicMgr { #[cfg(test)] mod tests { use tempfile::{TempDir}; - use std::io::{Result}; use crate::topic_mgr::{Topic, TopicMgr}; + use crate::error::Result; pub fn create_temp_dir(prefix: &str) -> TempDir { tempfile::Builder::new().prefix(prefix).tempdir().unwrap()