From 0e21e0c10daaed190e26551c7dff1db2daf8e43d Mon Sep 17 00:00:00 2001 From: Kiyomichi Kosaka Date: Wed, 21 Dec 2022 13:01:59 +0000 Subject: [PATCH] Fix compile warning. --- src/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs.rs b/src/structs.rs index 76340ce..e4b0f77 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -3,7 +3,6 @@ use home::home_dir; use rpassword::prompt_password; use rustyline::Editor; use std::fmt; -use std::io::{BufWriter, Write}; use std::path::Path; use std::{cell::RefCell, rc::Rc}; @@ -294,6 +293,7 @@ mod tests { use super::*; use crate::password::Password; use chrono::naive::NaiveDate; + use std::io::{BufWriter, Write}; #[test] fn test_env() {