From 9041046dbeda19ac6948e40785856ccdb81b2b1a Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Fri, 22 Nov 2024 19:49:57 +0000 Subject: [PATCH] cargo fix --- crates/hdx_ast/src/css/values/display/types.rs | 6 +++--- crates/hdx_parser/src/traits/rules.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/hdx_ast/src/css/values/display/types.rs b/crates/hdx_ast/src/css/values/display/types.rs index 28f8ba2..38abe78 100644 --- a/crates/hdx_ast/src/css/values/display/types.rs +++ b/crates/hdx_ast/src/css/values/display/types.rs @@ -1,6 +1,6 @@ -use hdx_atom::{atom, Atomizable}; -use hdx_parser::{diagnostics, Parse, Parser, Peek, Result as ParserResult, T}; -use hdx_writer::{write_css, CssWriter, Result as WriterResult, WriteCss}; +use hdx_atom::Atomizable; +use hdx_parser::{Parse, Peek}; +use hdx_writer::{CssWriter, WriteCss}; pub(crate) use crate::css::units::*; use crate::macros::keyword_typedef; diff --git a/crates/hdx_parser/src/traits/rules.rs b/crates/hdx_parser/src/traits/rules.rs index afdccee..72fa7c2 100644 --- a/crates/hdx_parser/src/traits/rules.rs +++ b/crates/hdx_parser/src/traits/rules.rs @@ -139,7 +139,7 @@ pub trait QualifiedRule<'a>: Sized + Parse<'a> { } } - let mut prelude = Self::parse_prelude(p); + let prelude = Self::parse_prelude(p); // Otherwise, consume a block from input, and let child rules be the result. // If the first item of child rules is a list of declarations,