Fix two "item x is imported redundantly" warnings

This commit is contained in:
Daniel Hofstetter 2024-03-15 14:53:00 +01:00
parent f8e5296aba
commit 6d8b21da80
2 changed files with 2 additions and 2 deletions

View file

@ -650,7 +650,7 @@ mod tests {
use super::*;
#[cfg(unix)]
use std::os::unix;
use std::path::{Component, Path, PathBuf};
use std::path::{Component, PathBuf};
#[cfg(unix)]
use tempfile::tempdir;

View file

@ -5,7 +5,7 @@
// spell-checker:ignore (formats) cymdhm cymdhms mdhm mdhms ymdhm ymdhms datetime mktime
use crate::common::util::{AtPath, TestScenario};
use filetime::{self, set_symlink_file_times, FileTime};
use filetime::{set_symlink_file_times, FileTime};
use std::fs::remove_file;
use std::path::PathBuf;