From b6c4c8a5aa17907edbf070db4c066bafd73f5f75 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Mon, 16 Jan 2023 12:34:14 +0100 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20Fix=20clippy=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index b42bce3..84a5fc8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ use std::{ collections::HashSet, fs::{remove_dir_all, remove_file, File}, io::Write, - path::PathBuf, + path::{Path, PathBuf}, }; use tokio::sync::mpsc; use tokio_retry::{strategy::FixedInterval, Retry}; @@ -490,7 +490,7 @@ fn create_export_file(export_file: &PathBuf, exports: &[String]) -> Result<(), E } /// Instructions to export the environment variables. -fn export_environment(export_file: &PathBuf) -> Result<(), Error> { +fn export_environment(export_file: &Path) -> Result<(), Error> { #[cfg(windows)] warn!( "{} PLEASE set up the environment variables running: '{}'",