Fix compile warning.

This commit is contained in:
Kiyomichi Kosaka
2022-12-21 13:01:59 +00:00
parent c03d6ab560
commit 0e21e0c10d
+1 -1
View File
@@ -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() {