Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuij committed Nov 11, 2023
1 parent 8e47d74 commit 29cc1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/topic_mgr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 29cc1a6

Please sign in to comment.