diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2024-03-01 10:55:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 10:55:38 +0800 |
commit | 862ede716c4de07f1985884b4af25ac874ab4640 (patch) | |
tree | 2fd6144571788ba861d630676a45673b6eddd25f /build.rs | |
parent | 5f5cc7ed609e8eff29ee0c580e60c468273bf171 (diff) |
Remove redundant imports (#377)
* Remove redundant imports
- Now linted by clippy in 1.78
- See https://github.com/rust-lang/rust/pull/117772
* Write changelog
* Remove Windows-only redundant imports in build script
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -39,12 +39,10 @@ fn build_completion_manpage() -> anyhow::Result<()> { #[cfg(target_os = "windows")] fn download_windows_npcap_sdk() -> anyhow::Result<()> { use std::{ - env, fs, + fs, io::{self, Write}, - path::PathBuf, }; - use anyhow::anyhow; use http_req::request; use zip::ZipArchive; |