From 49a7d3816e51ca9137a8df8985e5abf21548add9 Mon Sep 17 00:00:00 2001 From: la10736 Date: Tue, 9 Apr 2024 10:23:43 +0200 Subject: [PATCH] Shutup warning in night --- rstest_reuse/src/lib.rs | 4 +--- rstest_test/src/prj.rs | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/rstest_reuse/src/lib.rs b/rstest_reuse/src/lib.rs index 784f7487..6ab1fc74 100644 --- a/rstest_reuse/src/lib.rs +++ b/rstest_reuse/src/lib.rs @@ -194,9 +194,7 @@ use std::collections::HashMap; use proc_macro::TokenStream; use quote::{format_ident, quote}; -use syn::{ - self, parse, parse::Parse, parse_macro_input, Attribute, Ident, ItemFn, PatType, Path, Token, -}; +use syn::{parse, parse::Parse, parse_macro_input, Attribute, Ident, ItemFn, PatType, Path, Token}; struct MergeAttrs { template: ItemFn, diff --git a/rstest_test/src/prj.rs b/rstest_test/src/prj.rs index 0dbbb2bd..c2f0a67d 100644 --- a/rstest_test/src/prj.rs +++ b/rstest_test/src/prj.rs @@ -1,5 +1,4 @@ use std::{ - self, ffi::{OsStr, OsString}, io::Write, path::{Path, PathBuf},