From 181a2cf5e673d0f6f42133a5b30ccafd86b0106d Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 26 Apr 2024 11:36:19 -0500 Subject: [PATCH 1/2] chore(ci): Allow prelude wildcard imports --- .clippy.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.clippy.toml b/.clippy.toml index 027eef4..1d4c5dc 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,3 @@ -warn-on-all-wildcard-imports = true allow-print-in-tests = true allow-expect-in-tests = true allow-unwrap-in-tests = true From f4aa8ae5bb2ad5601b1a5dc12dfe5f6208ebdf42 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 26 Apr 2024 11:56:20 -0500 Subject: [PATCH 2/2] style: Restore prelude wildcard --- src/quote.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quote.rs b/src/quote.rs index 13b3212..10cc2ee 100644 --- a/src/quote.rs +++ b/src/quote.rs @@ -2,7 +2,7 @@ use std::borrow::Cow; use itertools::Itertools; use winnow::combinator::{alt, preceded, repeat, terminated}; -use winnow::prelude::{PResult, Parser}; +use winnow::prelude::*; use winnow::token::{one_of, take_while}; #[derive(Debug)]